1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/CodeGen/AArch64/space.ll
2020-06-15 20:55:53 -07:00

17 lines
534 B
LLVM

; 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 32684
; CHECK-NEXT: ret
; DUMP-LABEL: <f>:
; DUMP-NEXT: ret
declare dso_local i64 @llvm.aarch64.space(i32, i64) local_unnamed_addr #0