1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Transforms/InstCombine/2008-02-13-MulURem.ll
Matt Arsenault b86b388e15 Convert tests to FileCheck
llvm-svn: 189529
2013-08-28 23:04:41 +00:00

11 lines
156 B
LLVM

; RUN: opt < %s -instcombine -S | FileCheck %s
; PR1933
; CHECK: rem
define i32 @fold(i32 %a) {
%s = mul i32 %a, 3
%c = urem i32 %s, 3
ret i32 %c
}