summaryrefslogtreecommitdiffstats
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
commit19531ac01478607bee00f2f74fddd86091f1fab6 (patch)
treef809a5f81e39ebacddf1d68984d5e74141b50235
parentfff27973490c4507057926a771d87cfee2bd9ee6 (diff)
downloadbcm5719-llvm-19531ac01478607bee00f2f74fddd86091f1fab6.tar.gz
bcm5719-llvm-19531ac01478607bee00f2f74fddd86091f1fab6.zip
Try a negative number with ashr.
llvm-svn: 33404
-rw-r--r--llvm/test/Integer/a7.ll1
-rw-r--r--llvm/test/Integer/a7.ll.out1
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/Integer/a7.ll b/llvm/test/Integer/a7.ll
index aedf55a8d54..b0acefae8db 100644
--- a/llvm/test/Integer/a7.ll
+++ b/llvm/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/llvm/test/Integer/a7.ll.out b/llvm/test/Integer/a7.ll.out
index ea242a61c3d..327a3315f5d 100644
--- a/llvm/test/Integer/a7.ll.out
+++ b/llvm/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]
OpenPOWER on IntegriCloud