Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/X86/2011-06-14-PreschedRegalias.ll @ 33:e4204d083e25
LLVM 3.5
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 14:32:10 +0900 |
parents | 95c75e76d11b |
children | 1172e4bd9c6f |
line wrap: on
line source
; RUN: llc < %s -march=x86-64 -stress-sched | FileCheck %s ; REQUIRES: asserts ; Test interference between physreg aliases during preRAsched. ; mul wants an operand in AL, but call clobbers it. define i8 @f(i8 %v1, i8 %v2) nounwind { entry: ; CHECK: callq ; CHECK: movb %{{.*}}, %al ; CHECK: mulb ; CHECK: mulb %rval = tail call i8 @bar() nounwind %m1 = mul i8 %v1, %v2 %m2 = mul i8 %m1, %rval ret i8 %m2 } declare i8 @bar()