mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
46cdf3f128
Currently the MIR framework prints all its outputs (errors and actual representation) on stderr. This patch fixes that by printing the regular output in the output specified with -o. Differential Revision: http://reviews.llvm.org/D22251 llvm-svn: 275314
21 lines
874 B
LLVM
21 lines
874 B
LLVM
; RUN: llc -o - -verify-machineinstrs -mtriple=aarch64-apple-darwin -stop-after machine-sink %s | FileCheck %s --check-prefix=ISEL
|
|
; RUN: llc -o - -verify-machineinstrs -mtriple=aarch64-apple-darwin -fast-isel -fast-isel-abort=1 -stop-after machine-sink %s | FileCheck %s --check-prefix=FAST-ISEL
|
|
|
|
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
|
|
; ISEL: ADJCALLSTACKDOWN 0, implicit-def
|
|
; ISEL-NEXT: STACKMAP
|
|
; ISEL-NEXT: ADJCALLSTACKUP 0, 0, implicit-def
|
|
call void (i64, i32, ...) @llvm.experimental.stackmap(i64 4, i32 0, i64* %metadata)
|
|
; FAST-ISEL: ADJCALLSTACKDOWN 0, implicit-def
|
|
; FAST-ISEL-NEXT: STACKMAP
|
|
; FAST-ISEL-NEXT: ADJCALLSTACKUP 0, 0, implicit-def
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.experimental.stackmap(i64, i32, ...)
|