repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
CodeGen
/
X86
/
dag-rauw-cse.ll
blob
5e6b6cf10e7462664ba6626143ccd573d3a5adbf
1
; RUN: llc < %s -mtriple=i686-- | FileCheck %s
2
; PR3018
3
4
define i32 @test(i32 %A) nounwind {
5
; CHECK-LABEL: test:
6
; CHECK-NOT: ret
7
; CHECK: orl $1
8
; CHECK: ret
9
%B = or i32 %A, 1
10
%C = or i32 %B, 1
11
%D = and i32 %C, 7057
12
ret i32 %D
13
}