You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
22
external/llvm/test/CodeGen/X86/frame-base.ll
vendored
22
external/llvm/test/CodeGen/X86/frame-base.ll
vendored
@ -1,22 +0,0 @@
|
||||
; RUN: llc -mtriple=x86_64-apple-macosx -o - %s | FileCheck %s
|
||||
|
||||
; The issue here was a conflict between forming a %rip-relative lea and a
|
||||
; FrameIndex lea. The %rip sanity-checks didn't consider that a base register
|
||||
; had been set if we'd already matched a FrameIndex, when it has in reality.
|
||||
|
||||
@var = global i32 0
|
||||
|
||||
define void @test_frame_rip_conflict() {
|
||||
; CHECK-LABEL: test_frame_rip_conflict:
|
||||
; CHECK: leaq _var(%rip), [[TMPADDR:%r.*]]
|
||||
; CHECK: leaq {{-?[0-9]+}}(%rsp,[[TMPADDR]]),
|
||||
%stackvar = alloca i32
|
||||
|
||||
%stackint = ptrtoint i32* %stackvar to i64
|
||||
%addr = add i64 ptrtoint(i32* @var to i64), %stackint
|
||||
|
||||
call void @eat_i64(i64 %addr)
|
||||
ret void
|
||||
}
|
||||
|
||||
declare void @eat_i64(i64)
|
Reference in New Issue
Block a user