blob: 283f397373566b80da7f5bc0d847bcda3d55f92c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc -mtriple=riscv32 < %s | FileCheck %s -check-prefix=RV32
; RUN: llc -mtriple=riscv64 < %s | FileCheck %s -check-prefix=RV64
; Check the SPIR_KERNEL call convention works.
define dso_local spir_kernel void @foo() {
; RV32-LABEL: foo:
; RV32: # %bb.0:
; RV32-NEXT: ret
;
; RV64-LABEL: foo:
; RV64: # %bb.0:
; RV64-NEXT: ret
ret void
}
|