Sign in
swiftshader
/
SwiftShader
/
c81766320762e6a67dad91e6a41304f8713bc7d1
/
.
/
third_party
/
LLVM
/
test
/
CodeGen
/
X86
/
sub.ll
blob: ee5ea1d0fb6e0d18cad0b5b72fd6e2653983f6a6 [
file
] [
log
] [
blame
]
; RUN: llc -march=x86 < %s | FileCheck %s
define
i32
@test1
(
i32
%x
)
{
%xor
=
xor
i32
%x
,
31
%sub
=
sub
i32
32
,
%xor
ret
i32
%sub
; CHECK: test1:
; CHECK: xorl $-32
; CHECK-NEXT: addl $33
; CHECK-NEXT: ret
}