mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
af79ae558f
creating new files very well). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73599 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
175 B
LLVM
10 lines
175 B
LLVM
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep srem
|
|
; PR3439
|
|
|
|
define i32 @a(i32 %x) nounwind {
|
|
entry:
|
|
%rem = srem i32 %x, 2
|
|
%and = and i32 %rem, 2
|
|
ret i32 %and
|
|
}
|