summaryrefslogtreecommitdiff
path: root/test/Integer
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-20 20:30:13 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-20 20:30:13 +0000
commit9d7d2d7e4b4fb44e92d89b1e5b8186b82838a0e5 (patch)
treea93048ae958d054daf43f709ec793754397f4d31 /test/Integer
parenta42c7fd0ca5f2d6f653e3a9bac13ae176861a823 (diff)
Try a negative number with ashr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer')
-rw-r--r--test/Integer/a7.ll1
-rw-r--r--test/Integer/a7.ll.out1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/Integer/a7.ll b/test/Integer/a7.ll
index aedf55a8d54..b0acefae8db 100644
--- a/test/Integer/a7.ll
+++ b/test/Integer/a7.ll
@@ -19,6 +19,7 @@
%k = constant i7 lshr(i7 127 , i8 7)
%l = constant i7 ashr(i7 127 , i8 6)
%m = constant i7 ashr(i7 127 , i8 7)
+%m2= constant i7 ashr(i7 -1 , i8 3)
%n = constant i7 mul(i7 127, i7 2)
%t = constant i7 mul(i7 -63, i7 -2)
diff --git a/test/Integer/a7.ll.out b/test/Integer/a7.ll.out
index ea242a61c3d..327a3315f5d 100644
--- a/test/Integer/a7.ll.out
+++ b/test/Integer/a7.ll.out
@@ -14,6 +14,7 @@
%k = constant i7 0 ; <i7*> [#uses=0]
%l = constant i7 -1 ; <i7*> [#uses=0]
%m = constant i7 -1 ; <i7*> [#uses=0]
+%m2 = constant i7 -1 ; <i7*> [#uses=0]
%n = constant i7 -2 ; <i7*> [#uses=0]
%t = constant i7 -2 ; <i7*> [#uses=0]
%u = constant i7 -64 ; <i7*> [#uses=0]