projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merging r261441, r261447, and r261546:
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
fast-isel-sext.ll
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(i32* %y) {
6
%x = load i32, i32* %y
7
%dec = add i32 %x, -2
8
ret i32 %dec
9
}