Relax expressions and add explicit triplets -linux and -win32.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 22 Feb 2011 07:19:28 +0000 (07:19 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 22 Feb 2011 07:19:28 +0000 (07:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126198 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/codegen-prepare-extload.ll

index 9f57d53178f3d14081529f0eccd7f5cd2de277d6..14df815663e3d953b7ba62e50543b156841d88e0 100644 (file)
@@ -1,10 +1,11 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-win64 | FileCheck %s
 ; rdar://7304838
 
 ; CodeGenPrepare should move the zext into the block with the load
 ; so that SelectionDAG can select it with the load.
 
-; CHECK: movzbl (%rdi), %eax
+; CHECK: movzbl ({{%rdi|%rcx}}), %eax
 
 define void @foo(i8* %p, i32* %q) {
 entry: