projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add LDC compiler to list of external OS projects using LLVM 3.8
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2011-03-08-SRemMinusOneBadOpt.ll
1
; RUN: opt < %s -instcombine -S | FileCheck %s
2
; PR9346
3
4
define i32 @test(i64 %x) nounwind {
5
; CHECK: ret i32 0
6
entry:
7
%or = or i64 %x, 4294967294
8
%conv = trunc i64 %or to i32
9
%rem.i = srem i32 %conv, -1
10
ret i32 %rem.i
11
}
12