mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
9ed0a1b065
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180837 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
209 B
LLVM
11 lines
209 B
LLVM
; RUN: llc < %s -march=x86 | FileCheck %s
|
|
|
|
; CHECK-NOT: movl
|
|
|
|
define zeroext i8 @t(i8 zeroext %x, i8 zeroext %y) {
|
|
%tmp2 = add i8 %x, 2
|
|
%tmp4 = add i8 %y, -2
|
|
%tmp5 = mul i8 %tmp4, %tmp2
|
|
ret i8 %tmp5
|
|
}
|