2019-11-01 23:01:36 +08:00
|
|
|
; RUN: llc -mtriple aarch64 %s -o - | FileCheck %s
|
|
|
|
; RUN: llc -mtriple aarch64 -filetype=obj %s -o - | llvm-objdump --arch=aarch64 -d - | FileCheck %s --check-prefix=DUMP
|
|
|
|
|
|
|
|
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
|
|
|
|
|
|
|
|
define dso_local void @f(i64 %v) {
|
|
|
|
entry:
|
|
|
|
%dummy = tail call i64 @llvm.aarch64.space(i32 32684, i64 %v)
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
; CHECK: // SPACE
|
|
|
|
; CHECK-NEXT: ret
|
2020-03-06 06:18:38 +08:00
|
|
|
; DUMP-LABEL: <f>:
|
2019-11-01 23:01:36 +08:00
|
|
|
; DUMP-NEXT: ret
|
|
|
|
|
|
|
|
declare dso_local i64 @llvm.aarch64.space(i32, i64) local_unnamed_addr #0
|