blob: 3ed0f18a94319a25fa11e41574e9f5fdb0feb795 [file] [log] [blame]
Andrew Trick2f473ce2011-06-15 18:25:38 +00001; 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 Trick4cb971c2011-06-15 17:16:12 +00004; Test interference between physreg aliases during preRAsched.
5; mul wants an operand in AL, but call clobbers it.
6
7define i8 @f(i8 %v1, i8 %v2) nounwind {
8entry:
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
19declare i8 @bar()