• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s
2
3; This caused ScheduleDAG to crash in EmitPhysRegCopy when searching
4; the uses of a copy to a physical register without ignoring non-data
5; dependence, PR10220.
6
7define void @f(i256* nocapture %a, i256* nocapture %b, i256* nocapture %cc, i256* nocapture %dd) nounwind uwtable noinline ssp {
8entry:
9  %c = load i256, i256* %cc
10  %d = load i256, i256* %dd
11  %add = add nsw i256 %c, %d
12  store i256 %add, i256* %a, align 8
13  %or = or i256 %c, 1606938044258990275541962092341162602522202993782792835301376
14  %add6 = add nsw i256 %or, %d
15  store i256 %add6, i256* %b, align 8
16  ret void
17}
18