Lang Hames | d0626aa | 2011-07-07 00:36:02 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s |
| 2 | ; This used to cause ScheduleDAG to crash during EmitPhysRegCopy when it mistook |
| 3 | ; followed a non-control dependence, PR10220. |
| 4 | |
| 5 | define void @f(i256* nocapture %a, i256* nocapture %b, i256* nocapture %cc, i256* nocapture %dd) nounwind uwtable noinline ssp { |
| 6 | entry: |
| 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 | } |