From: Nick Lewycky Date: Thu, 6 Mar 2008 06:50:03 +0000 (+0000) Subject: Commit the testcase too. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=64df3bc62577553a7e59fcf38f80eec65599739e;p=oota-llvm.git Commit the testcase too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47988 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/2008-02-13-MulURem.ll b/test/Transforms/InstCombine/2008-02-13-MulURem.ll new file mode 100644 index 00000000000..66973837897 --- /dev/null +++ b/test/Transforms/InstCombine/2008-02-13-MulURem.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep rem +; PR1933 + +define i32 @fold(i32 %a) { + %s = mul i32 %a, 3 + %c = urem i32 %s, 3 + ret i32 %c +}