Turn on post-alloc scheduling for x86.
[oota-llvm.git] / test / CodeGen / X86 / pic_jumptable.ll
index 553021dc90dca49a6d248988242e2409d85b16a3..b3750c1e8e676178a9106a8b9108919e8fff7084 100644 (file)
@@ -1,10 +1,12 @@
-; RUN: llvm-as < %s | llc -relocation-model=pic -mtriple=i386-linux-gnu | not grep -F .text
-; RUN: llvm-as < %s | llc -relocation-model=pic -mtriple=i686-apple-darwin | not grep lea
-; RUN: llvm-as < %s | llc -relocation-model=pic -mtriple=i686-apple-darwin | grep add | count 2
+; RUN: llc < %s -relocation-model=pic -mtriple=i386-linux-gnu -asm-verbose=false | not grep -F .text
+; RUN: llc < %s -relocation-model=pic -mtriple=i686-apple-darwin -asm-verbose=false | not grep lea
+; RUN: llc < %s -relocation-model=pic -mtriple=i686-apple-darwin -asm-verbose=false | grep add | count 2
+; RUN: llc < %s                       -mtriple=x86_64-apple-darwin | not grep 'lJTI'
+; rdar://6971437
 
 declare void @_Z3bari(i32)
 
-define linkonce void @_Z3fooILi1EEvi(i32 %Y) {
+define linkonce void @_Z3fooILi1EEvi(i32 %Y) nounwind {
 entry:
        %Y_addr = alloca i32            ; <i32*> [#uses=2]
        %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]