projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix PR17546
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
dag-rauw-cse.ll
1
; RUN: llc < %s -march=x86 | 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
}