brintos

brintos / llvm-project-archived public Read only

0
0
Text · 443 B · 283f397 Raw
17 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=riscv32 < %s | FileCheck %s -check-prefix=RV323; RUN: llc -mtriple=riscv64 < %s | FileCheck %s -check-prefix=RV644 5; Check the SPIR_KERNEL call convention works.6 7define dso_local spir_kernel void @foo() {8; RV32-LABEL: foo:9; RV32:       # %bb.0:10; RV32-NEXT:    ret11;12; RV64-LABEL: foo:13; RV64:       # %bb.0:14; RV64-NEXT:    ret15  ret void16}17