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
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
X86
/
no-cmov.ll
blob
4f3b1cfa1c72245bb396ba6d259b8aaabfbde5f2
1
; RUN: llc -mtriple=i686-- -mcpu=i486 < %s | FileCheck %s
2
3
define i32 @test1(i32 %g, ptr %j) {
4
%tobool = icmp eq i32 %g, 0
5
%cmp = load i32, ptr %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
}