[llvm-commits] [llvm] r93244 - /llvm/trunk/test/CodeGen/X86/2007-02-04-OrAddrMode.ll

Evan Cheng evan.cheng at apple.com
Tue Jan 12 10:29:24 PST 2010


Author: evancheng
Date: Tue Jan 12 12:29:23 2010
New Revision: 93244

URL: http://llvm.org/viewvc/llvm-project?rev=93244&view=rev
Log:
Add nounwind.

Modified:
    llvm/trunk/test/CodeGen/X86/2007-02-04-OrAddrMode.ll

Modified: llvm/trunk/test/CodeGen/X86/2007-02-04-OrAddrMode.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2007-02-04-OrAddrMode.ll?rev=93244&r1=93243&r2=93244&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/2007-02-04-OrAddrMode.ll (original)
+++ llvm/trunk/test/CodeGen/X86/2007-02-04-OrAddrMode.ll Tue Jan 12 12:29:23 2010
@@ -2,7 +2,7 @@
 ; RUN: llc < %s -march=x86 | grep {leal	3(,%eax,8)}
 
 ;; This example can't fold the or into an LEA.
-define i32 @test(float ** %tmp2, i32 %tmp12) {
+define i32 @test(float ** %tmp2, i32 %tmp12) nounwind {
 	%tmp3 = load float** %tmp2
 	%tmp132 = shl i32 %tmp12, 2		; <i32> [#uses=1]
 	%tmp4 = bitcast float* %tmp3 to i8*		; <i8*> [#uses=1]
@@ -14,7 +14,7 @@
 
 
 ;; This can!
-define i32 @test2(i32 %a, i32 %b) {
+define i32 @test2(i32 %a, i32 %b) nounwind {
 	%c = shl i32 %a, 3
 	%d = or i32 %c, 3
 	ret i32 %d





More information about the llvm-commits mailing list