Sign in
swiftshader
/
SwiftShader.git
/
48d47a4912684bfa4d23d3cdaab60046bf3d0468
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
CodeGen
/
X86
/
fast-isel-sext.ll
blob: ca1558e3c84496c6f5dcb0a7cd83ffbf117664eb [
file
] [
log
] [
blame
]
; RUN: llc -mtriple=x86_64-linux -fast-isel -show-mc-encoding < %s | FileCheck %s
; CHECK-LABEL: f:
; CHECK: addl $-2, %eax # encoding: [0x83,0xc0,0xfe]
define
i32
@f
(
i32
*
%y
)
{
%x
=
load
i32
,
i32
*
%y
%dec
=
add
i32
%x
,
-
2
ret
i32
%dec
}