brintos

brintos / llvm-project-archived public Read only

0
0
Text · 464 B · 3ac2104 Raw
19 lines · plain
1; RUN: llc < %s -mtriple=x86_64-- -stress-sched | FileCheck %s2; REQUIRES: asserts3; Test interference between physreg aliases during preRAsched.4; mul wants an operand in AL, but call clobbers it.5 6define i8 @f(i8 %v1, i8 %v2) nounwind {7entry:8; CHECK: callq9; CHECK: movl %{{.*}}, %eax10; CHECK: mulb11; CHECK: mulb12        %rval = tail call i8 @bar() nounwind13        %m1 = mul i8 %v1, %v214        %m2 = mul i8 %m1, %rval15        ret i8 %m216}17 18declare i8 @bar()19