repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
X86
/
fast-isel-sext.ll
blob
918904a55a4771ea12dc6baf565dc81b32001d20
1
; RUN: llc -mtriple=x86_64-linux -fast-isel -show-mc-encoding < %s | FileCheck %s
2
3
; CHECK-LABEL: f:
4
; CHECK: addl $-2, %eax # encoding: [0x83,0xc0,0xfe]
5
define i32 @f(ptr %y) {
6
%x = load i32, ptr %y
7
%dec = add i32 %x, -2
8
ret i32 %dec
9
}