diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-03 20:16:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-03 20:16:29 +0000 |
commit | 6a7cd2206b3d3c5e2026a6f3b70bd6161761aa78 (patch) | |
tree | 746ac1753c4c064aa0b35def21499f131a92a22f /test | |
parent | 8e122e1148db4b624bc9dc1db8cda285615f1c9c (diff) | |
download | external_llvm-6a7cd2206b3d3c5e2026a6f3b70bd6161761aa78.zip external_llvm-6a7cd2206b3d3c5e2026a6f3b70bd6161761aa78.tar.gz external_llvm-6a7cd2206b3d3c5e2026a6f3b70bd6161761aa78.tar.bz2 |
Add tests for floating point remainder elimination
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2461 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/ConstProp/remtest.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Transforms/ConstProp/remtest.ll b/test/Transforms/ConstProp/remtest.ll index eb61a14..ae418a8 100644 --- a/test/Transforms/ConstProp/remtest.ll +++ b/test/Transforms/ConstProp/remtest.ll @@ -15,3 +15,12 @@ int "test2"() { ret int %R } +float "test3"() { + %R = rem float 12.45, 123.213 + ret float %R +} + +double "test4"() { + %R = rem double 312.20213123, 12.3333412 + ret double %R +} |