summaryrefslogtreecommitdiff
path: root/test/Integer
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-19 21:58:19 +0000
committerChris Lattner <sabre@nondot.org>2008-04-19 21:58:19 +0000
commit1c14c297460e0a6480bab989c0ade346288bbfd2 (patch)
treecbfa03122b461b9ad864c17e5716ab89fa69231e /test/Integer
parent61783d73223eed373fdcf1e4bda29978323f9e54 (diff)
downloadllvm-1c14c297460e0a6480bab989c0ade346288bbfd2.tar.gz
llvm-1c14c297460e0a6480bab989c0ade346288bbfd2.tar.bz2
llvm-1c14c297460e0a6480bab989c0ade346288bbfd2.tar.xz
refactor handling of symbolic constant folding, picking up
a few new cases( see Integer/a1.ll), but not anything that would happen in practice. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer')
-rw-r--r--test/Integer/a1.ll.out8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Integer/a1.ll.out b/test/Integer/a1.ll.out
index 0957c755b9..93ca11acd3 100644
--- a/test/Integer/a1.ll.out
+++ b/test/Integer/a1.ll.out
@@ -10,10 +10,10 @@
@j = constant i1 undef ; <i1*> [#uses=0]
@m = constant i1 undef ; <i1*> [#uses=0]
@n = constant i1 true ; <i1*> [#uses=0]
-@o = constant i1 sdiv (i1 true, i1 true) ; <i1*> [#uses=0]
-@p = constant i1 sdiv (i1 true, i1 true) ; <i1*> [#uses=0]
+@o = constant i1 true ; <i1*> [#uses=0]
+@p = constant i1 true ; <i1*> [#uses=0]
@q = constant i1 true ; <i1*> [#uses=0]
@r = constant i1 true ; <i1*> [#uses=0]
-@s = constant i1 srem (i1 true, i1 true) ; <i1*> [#uses=0]
+@s = constant i1 false ; <i1*> [#uses=0]
@t = constant i1 false ; <i1*> [#uses=0]
-@u = constant i1 srem (i1 true, i1 true) ; <i1*> [#uses=0]
+@u = constant i1 false ; <i1*> [#uses=0]