// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 4 // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +xsfmmbase \ // RUN: -disable-O0-optnone -emit-llvm %s -o - | \ // RUN: opt -S -passes=mem2reg | FileCheck --check-prefix=CHECK-RV64 %s #include // CHECK-RV64-LABEL: define dso_local void @test_sf_vtdiscard( // CHECK-RV64-SAME: ) #[[ATTR0:[0-9]+]] { // CHECK-RV64-NEXT: entry: // CHECK-RV64-NEXT: call void @llvm.riscv.sf.vtdiscard() // CHECK-RV64-NEXT: ret void // void test_sf_vtdiscard() { return __riscv_sf_vtdiscard(); }