You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
This commit is contained in:
parent
8016999e4d
commit
64ac736ec5
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