You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.179
Former-commit-id: 67aa10e65b237e1c4537630979ee99ebe1374215
This commit is contained in:
parent
d6bde52373
commit
8625704ad8
12
external/llvm/test/CodeGen/X86/fast-isel-fold-mem.ll
vendored
Normal file
12
external/llvm/test/CodeGen/X86/fast-isel-fold-mem.ll
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
|
||||
; RUN: llc < %s -fast-isel -fast-isel-abort=1 -mtriple=x86_64-apple-darwin | FileCheck %s
|
||||
|
||||
define i64 @fold_load(i64* %a, i64 %b) {
|
||||
; CHECK-LABEL: fold_load
|
||||
; CHECK: addq (%rdi), %rsi
|
||||
; CHECK-NEXT: movq %rsi, %rax
|
||||
%1 = load i64, i64* %a, align 8
|
||||
%2 = add i64 %1, %b
|
||||
ret i64 %2
|
||||
}
|
||||
|
Reference in New Issue
Block a user