repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[x86] fix assert with horizontal math + broadcast of vector (PR43402)
[llvm-core.git]
/
test
/
CodeGen
/
X86
/
fast-isel-sext.ll
blob
ca1558e3c84496c6f5dcb0a7cd83ffbf117664eb
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
}