[llvm-commits] CVS: llvm/test/Regression/Transforms/SimplifyLibCalls/2005-04-24-ExitInMain.ll

Reid Spencer reid at x10sys.com
Sun Apr 24 20:18:30 PDT 2005



Changes in directory llvm/test/Regression/Transforms/SimplifyLibCalls:

2005-04-24-ExitInMain.ll updated: 1.1 -> 1.2
---
Log message:

Use the %name rather than the "name" format so those familiar with the
llvm-dis output don't go blind.


---
Diffs of the changes:  (+5 -5)

 2005-04-24-ExitInMain.ll |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/test/Regression/Transforms/SimplifyLibCalls/2005-04-24-ExitInMain.ll
diff -u llvm/test/Regression/Transforms/SimplifyLibCalls/2005-04-24-ExitInMain.ll:1.1 llvm/test/Regression/Transforms/SimplifyLibCalls/2005-04-24-ExitInMain.ll:1.2
--- llvm/test/Regression/Transforms/SimplifyLibCalls/2005-04-24-ExitInMain.ll:1.1	Sun Apr 24 21:50:08 2005
+++ llvm/test/Regression/Transforms/SimplifyLibCalls/2005-04-24-ExitInMain.ll	Sun Apr 24 22:18:19 2005
@@ -1,13 +1,13 @@
 ; Test that the ExitInMainOptimization pass works correctly
 ; RUN: llvm-as < %s | opt -simplify-libcalls | llvm-dis | grep -c 'ret int 3' | grep 1
 
-declare void "exit"(int)
-declare void "exitonly"(int)
+declare void %exit(int)
+declare void %exitonly(int)
 
 implementation   ; Functions:
 
-int "main"() {
-        call void "exitonly" ( int 3 )
-        call void "exit" ( int 3 )
+int %main () {
+        call void %exitonly ( int 3 )
+        call void %exit ( int 3 )
         ret int 0
 }






More information about the llvm-commits mailing list