1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
3 ; RUN: llc < %s -fast-isel -fast-isel-abort=1 -mtriple=x86_64-apple-darwin | FileCheck %s
5 define i64 @fold_load(i64* %a, i64 %b) {
6 ; CHECK-LABEL: fold_load:
8 ; CHECK-NEXT: movq %rsi, %rax
9 ; CHECK-NEXT: addq (%rdi), %rax
11 %1 = load i64, i64* %a, align 8