You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
This commit is contained in:
parent
32d52ae4ca
commit
f32dbaf0b2
19
external/llvm/test/CodeGen/X86/fast-isel-call-cleanup.ll
vendored
Normal file
19
external/llvm/test/CodeGen/X86/fast-isel-call-cleanup.ll
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
; RUN: llc -fast-isel -O0 -code-model=large -mcpu=generic -mtriple=x86_64-apple-darwin10 -relocation-model=pic < %s | FileCheck %s
|
||||
|
||||
; Check that fast-isel cleans up when it fails to lower a call instruction.
|
||||
define void @fastiselcall() {
|
||||
entry:
|
||||
%call = call i32 @targetfn(i32 42)
|
||||
ret void
|
||||
; CHECK-LABEL: fastiselcall:
|
||||
; Local value area is still there:
|
||||
; CHECK: movl $42, {{%[a-z]+}}
|
||||
; Fast-ISel's arg mov is not here:
|
||||
; CHECK-NOT: movl $42, (%esp)
|
||||
; SDag-ISel's arg mov:
|
||||
; CHECK: movabsq $_targetfn, %[[REG:[^ ]*]]
|
||||
; CHECK: movl $42, %edi
|
||||
; CHECK: callq *%[[REG]]
|
||||
|
||||
}
|
||||
declare i32 @targetfn(i32)
|
Reference in New Issue
Block a user