[llvm-commits] [llvm] r72161 - /llvm/trunk/test/CodeGen/X86/call-imm.ll

Evan Cheng evan.cheng at apple.com
Tue May 19 22:45:37 PDT 2009


Author: evancheng
Date: Wed May 20 00:45:36 2009
New Revision: 72161

URL: http://llvm.org/viewvc/llvm-project?rev=72161&view=rev
Log:
Fix test on non-darwin hosts.

Modified:
    llvm/trunk/test/CodeGen/X86/call-imm.ll

Modified: llvm/trunk/test/CodeGen/X86/call-imm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/call-imm.ll?rev=72161&r1=72160&r2=72161&view=diff

==============================================================================
--- llvm/trunk/test/CodeGen/X86/call-imm.ll (original)
+++ llvm/trunk/test/CodeGen/X86/call-imm.ll Wed May 20 00:45:36 2009
@@ -1,6 +1,6 @@
 ; RUN: llvm-as < %s | llc -mtriple=i386-darwin-apple -relocation-model=static | grep {call.*12345678}
+; RUN: llvm-as < %s | llc -mtriple=i386-darwin-apple -relocation-model=pic | not grep {call.*12345678}
 ; RUN: llvm-as < %s | llc -mtriple=i386-pc-linux -relocation-model=dynamic-no-pic | grep {call.*12345678}
-; RUN: llvm-as < %s | llc -march=x86 -relocation-model=pic | not grep {call.*12345678}
 
 ; Call to immediate is not safe on x86-64 unless we *know* that the
 ; call will be within 32-bits pcrel from the dest immediate.





More information about the llvm-commits mailing list