projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[X86][SSE] Match zero/any extension shuffles that don't start from the first element
[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
}