diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2008-03-06 06:50:03 +0000 |
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2008-03-06 06:50:03 +0000 |
| commit | 64df3bc62577553a7e59fcf38f80eec65599739e (patch) | |
| tree | 19a6477a4afb6b263996c3b50005ae64e4bdebef /test/Transforms | |
| parent | c1a2a612019ea1c764f3ccb5959104aea3d4df2f (diff) | |
Commit the testcase too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47988 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
| -rw-r--r-- | test/Transforms/InstCombine/2008-02-13-MulURem.ll | 8 |
1 files changed, 8 insertions, 0 deletions
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 0000000000..6697383789 --- /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 +} |
