Revert "Enhance BranchProbabilityInfo::calcUnreachableHeuristics for InvokeInst"
[oota-llvm.git] / test / CodeGen / X86 / i128-ret.ll
index 50c4e0f6bbc1d65b179907f3d6cbeca323dc94f8..1d76471225e21186df0de605441c3feb7b26af38 100644 (file)
@@ -1,8 +1,10 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep 'movq 8(%rdi), %rdx' &&
-; RUN: llvm-as < %s | llc -march=x86-64 | grep 'movq (%rdi), %rax'
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
+; CHECK: movq ([[A0:%rdi|%rcx]]), %rax
+; CHECK: movq 8([[A0]]), %rdx
 
 define i128 @test(i128 *%P) {
-        %A = load i128* %P
+        %A = load i128, i128* %P
         ret i128 %A
 }