2016-07-14 04:36:03 +08:00
|
|
|
; RUN: llc -o - -verify-machineinstrs -mtriple=powerpc64-unknown-gnu-linux -stop-after machine-sink %s | FileCheck %s --check-prefix=ISEL
|
|
|
|
; RUN: llc -o - -verify-machineinstrs -mtriple=powerpc64-unknown-gnu-linux -fast-isel -fast-isel-abort=1 -stop-after machine-sink %s | FileCheck %s --check-prefix=FAST-ISEL
|
2015-08-11 05:27:03 +08:00
|
|
|
|
|
|
|
define void @caller_meta_leaf() {
|
|
|
|
entry:
|
|
|
|
%metadata = alloca i64, i32 3, align 8
|
|
|
|
store i64 11, i64* %metadata
|
|
|
|
store i64 12, i64* %metadata
|
|
|
|
store i64 13, i64* %metadata
|
2017-05-09 21:35:13 +08:00
|
|
|
; ISEL: ADJCALLSTACKDOWN 0, 0, implicit-def
|
2015-08-11 05:27:03 +08:00
|
|
|
; ISEL-NEXT: STACKMAP
|
|
|
|
; ISEL-NEXT: ADJCALLSTACKUP 0, 0, implicit-def
|
|
|
|
call void (i64, i32, ...) @llvm.experimental.stackmap(i64 4, i32 0, i64* %metadata)
|
2017-05-09 21:35:13 +08:00
|
|
|
; FAST-ISEL: ADJCALLSTACKDOWN 0, 0, implicit-def
|
2015-08-11 05:27:03 +08:00
|
|
|
; FAST-ISEL-NEXT: STACKMAP
|
|
|
|
; FAST-ISEL-NEXT: ADJCALLSTACKUP 0, 0, implicit-def
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
declare void @llvm.experimental.stackmap(i64, i32, ...)
|