Try a negative number with ashr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33404 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-01-20 20:30:13 +00:00
parent a42c7fd0ca
commit 9d7d2d7e4b
2 changed files with 2 additions and 0 deletions

View 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)

View 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]