blob: e4f0c8ae6003e6e95f9f0427837d9816c7dbd238 [file] [log] [blame]
Lang Hamesd0626aa2011-07-07 00:36:02 +00001; RUN: llc < %s
2; This used to cause ScheduleDAG to crash during EmitPhysRegCopy when it mistook
3; followed a non-control dependence, PR10220.
4
5define void @f(i256* nocapture %a, i256* nocapture %b, i256* nocapture %cc, i256* nocapture %dd) nounwind uwtable noinline ssp {
6entry:
7 %c = load i256* %cc
8 %d = load i256* %dd
9 %add = add nsw i256 %c, %d
10 store i256 %add, i256* %a, align 8
11 %or = or i256 %c, 1606938044258990275541962092341162602522202993782792835301376
12 %add6 = add nsw i256 %or, %d
13 store i256 %add6, i256* %b, align 8
14 ret void
15}