projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[x86] Improve and correct how the new vector shuffle lowering was
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
computeKnownBits_urem.ll
1
; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
2
define i32 @main() #0 {
3
entry:
4
%a = alloca i32, align 4
5
store i32 1, i32* %a, align 4
6
%0 = load i32* %a, align 4
7
%or = or i32 1, %0
8
%and = and i32 1, %or
9
%rem = urem i32 %and, 1
10
%add = add i32 %rem, 1
11
ret i32 %add
12
}
13
; CHECK: $1, %eax
14
; CHECK-NEXT: retq