[llvm-commits] CVS: llvm/test/Regression/Jello/test-shift.ll

Chris Lattner lattner at cs.uiuc.edu
Sat May 31 20:58:01 PDT 2003


Changes in directory llvm/test/Regression/Jello:

test-shift.ll updated: 1.3 -> 1.4

---
Log message:

Add tests for 64 bit shifts


---
Diffs of the changes:

Index: llvm/test/Regression/Jello/test-shift.ll
diff -u llvm/test/Regression/Jello/test-shift.ll:1.3 llvm/test/Regression/Jello/test-shift.ll:1.4
--- llvm/test/Regression/Jello/test-shift.ll:1.3	Sun Jan 12 18:57:49 2003
+++ llvm/test/Regression/Jello/test-shift.ll	Sat May 31 20:57:44 2003
@@ -23,9 +23,15 @@
     %t2 = shr uint 1, ubyte 5
 
     ;%t1 = shr long 1, ubyte %shamt
-    %t2 = shr long 1, ubyte 4
+    %t1 = shr long 1, ubyte 4
+    %t2 = shr long 1, ubyte %shamt
+    %t3 = shl long 1, ubyte 4
+    %t4 = shl long 1, ubyte %shamt
 
     ;%t1 = shr ulong 1, ubyte %shamt
-    %t2 = shr ulong 1, ubyte 5
+    %t1 = shr ulong 1, ubyte 5
+    %t2 = shr ulong 1, ubyte %shamt
+    %t3 = shl ulong 1, ubyte 5
+    %t4 = shl ulong 1, ubyte %shamt
     ret int 0
 }





More information about the llvm-commits mailing list