From 9d7d2d7e4b4fb44e92d89b1e5b8186b82838a0e5 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 20 Jan 2007 20:30:13 +0000 Subject: Try a negative number with ashr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33404 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Integer/a7.ll | 1 + test/Integer/a7.ll.out | 1 + 2 files changed, 2 insertions(+) (limited to 'test/Integer') diff --git a/test/Integer/a7.ll b/test/Integer/a7.ll index aedf55a8d5..b0acefae8d 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 ea242a61c3..327a3315f5 100644 --- a/test/Integer/a7.ll.out +++ b/test/Integer/a7.ll.out @@ -14,6 +14,7 @@ %k = constant i7 0 ; [#uses=0] %l = constant i7 -1 ; [#uses=0] %m = constant i7 -1 ; [#uses=0] +%m2 = constant i7 -1 ; [#uses=0] %n = constant i7 -2 ; [#uses=0] %t = constant i7 -2 ; [#uses=0] %u = constant i7 -64 ; [#uses=0] -- cgit v1.2.3