git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126204
91177308-0d34-0410-b5e6-
96231b3b80d8
-; RUN: llc < %s -march=x86-64 | grep {movq 8(%rdi), %rdx}
-; RUN: llc < %s -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
define i128 @test(i128 *%P) {
%A = load i128* %P