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
Use Align for TFL::TransientStackAlignment
[llvm-core.git]
/
test
/
CodeGen
/
X86
/
no-cmov.ll
blob
5a40f9d5ad699b8ad89674b1107a5280da54ee1d
1
; RUN: llc -mtriple=i686-- -mcpu=i486 < %s | FileCheck %s
2
3
define i32 @test1(i32 %g, i32* %j) {
4
%tobool = icmp eq i32 %g, 0
5
%cmp = load i32, i32* %j, align 4
6
%retval.0 = select i1 %tobool, i32 1, i32 %cmp
7
ret i32 %retval.0
8
9
; CHECK-LABEL: test1:
10
; CHECK-NOT: cmov
11
}