mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 04:22:57 +02:00
c95df8b6d8
llvm-svn: 81257
9 lines
148 B
LLVM
9 lines
148 B
LLVM
; RUN: opt %s -instcombine -S | grep {ret i1 true}
|
|
; PR2993
|
|
|
|
define i1 @foo(i32 %x) {
|
|
%1 = srem i32 %x, -1
|
|
%2 = icmp eq i32 %1, 0
|
|
ret i1 %2
|
|
}
|