[llvm-commits] CVS: llvm/test/Regression/ExecutionEngine/test-call.ll

Chris Lattner lattner at cs.uiuc.edu
Mon Nov 22 11:50:56 PST 2004



Changes in directory llvm/test/Regression/ExecutionEngine:

test-call.ll updated: 1.6 -> 1.7
---
Log message:

Exit only with a value from 0-255.


---
Diffs of the changes:  (+3 -2)

Index: llvm/test/Regression/ExecutionEngine/test-call.ll
diff -u llvm/test/Regression/ExecutionEngine/test-call.ll:1.6 llvm/test/Regression/ExecutionEngine/test-call.ll:1.7
--- llvm/test/Regression/ExecutionEngine/test-call.ll:1.6	Sat Nov  6 17:32:43 2004
+++ llvm/test/Regression/ExecutionEngine/test-call.ll	Mon Nov 22 13:50:41 2004
@@ -5,8 +5,9 @@
 declare void %exit(int)
 
 int %test(sbyte %C, short %S) {
-  %X = cast short %S to int
-  ret int %X
+  %X = cast short %S to ubyte
+  %Y = cast ubyte %X to int
+  ret int %Y
 }
 
 void %FP(void(int) * %F) {






More information about the llvm-commits mailing list