Changes in directory llvm/test/Feature:

newcasts.ll updated: 1.1 -> 1.2
---
Log message:

Add a couple little tests for SExt/ZExt of constants of a sign that doesn't
match.


---
Diffs of the changes:  (+7 -0)

 newcasts.ll |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/test/Feature/newcasts.ll
diff -u llvm/test/Feature/newcasts.ll:1.1 llvm/test/Feature/newcasts.ll:1.2
--- llvm/test/Feature/newcasts.ll:1.1   Fri Dec  1 22:23:07 2006
+++ llvm/test/Feature/newcasts.ll       Sun Dec 17 19:11:46 2006
@@ -19,3 +19,10 @@
 }
 
 
+ushort "ZExtConst" () {
+  ret ushort trunc ( uint zext ( short 42 to uint) to ushort )
+}
+
+short "SExtConst" () {
+  ret short trunc (int sext (ushort 42 to int) to short )
+}



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to