Andrew Trick | 2f473ce | 2011-06-15 18:25:38 +0000 | [diff] [blame] | 1 | ; RUN: true |
| 2 | ; Disabled this test until I can figure out the correct lit flags. |
| 3 | ; llc < %s -march=x86-64 -stress-sched | FileCheck %s |
Andrew Trick | 4cb971c | 2011-06-15 17:16:12 +0000 | [diff] [blame] | 4 | ; Test interference between physreg aliases during preRAsched. |
| 5 | ; mul wants an operand in AL, but call clobbers it. |
| 6 | |
| 7 | define i8 @f(i8 %v1, i8 %v2) nounwind { |
| 8 | entry: |
| 9 | ; CHECK: callq |
| 10 | ; CHECK: movb %{{.*}}, %al |
| 11 | ; CHECK: mulb |
| 12 | ; CHECK: mulb |
| 13 | %rval = tail call i8 @bar() nounwind |
| 14 | %m1 = mul i8 %v1, %v2 |
| 15 | %m2 = mul i8 %m1, %rval |
| 16 | ret i8 %m2 |
| 17 | } |
| 18 | |
| 19 | declare i8 @bar() |