summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/fast-isel-fold-mem.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/fast-isel-fold-mem.ll')
-rw-r--r--llvm/test/CodeGen/X86/fast-isel-fold-mem.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-fold-mem.ll b/llvm/test/CodeGen/X86/fast-isel-fold-mem.ll
index 1c5171926c4..ebd8fb7c7e6 100644
--- a/llvm/test/CodeGen/X86/fast-isel-fold-mem.ll
+++ b/llvm/test/CodeGen/X86/fast-isel-fold-mem.ll
@@ -5,8 +5,8 @@
define i64 @fold_load(i64* %a, i64 %b) {
; CHECK-LABEL: fold_load:
; CHECK: ## %bb.0:
-; CHECK-NEXT: addq (%rdi), %rsi
; CHECK-NEXT: movq %rsi, %rax
+; CHECK-NEXT: addq (%rdi), %rax
; CHECK-NEXT: retq
%1 = load i64, i64* %a, align 8
%2 = add i64 %1, %b
OpenPOWER on IntegriCloud