Try a negative number with ashr.
authorReid Spencer <rspencer@reidspencer.com>
Sat, 20 Jan 2007 20:30:13 +0000 (20:30 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 20 Jan 2007 20:30:13 +0000 (20:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33404 91177308-0d34-0410-b5e6-96231b3b80d8

test/Integer/a7.ll
test/Integer/a7.ll.out

index aedf55a8d5472ea8284ef001d9c18157e6895a7c..b0acefae8dbfe7f269dba30eb10cef056f6b183d 100644 (file)
@@ -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)
index ea242a61c3d4ba4a6575ca474ab5ca041d21a2b4..327a3315f5d4b5cee18e7ab101d0192c3ce947dc 100644 (file)
@@ -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]