// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py // RUN: %clang_cc1 -triple riscv32 -target-feature +zihintpause -emit-llvm %s -o - \ // RUN: | FileCheck %s // RUN: %clang_cc1 -triple riscv64 -target-feature +zihintpause -emit-llvm %s -o - \ // RUN: | FileCheck %s // CHECK-LABEL: @test_builtin_pause( // CHECK-NEXT: entry: // CHECK-NEXT: call void @llvm.riscv.pause() // CHECK-NEXT: ret void // void test_builtin_pause() { __builtin_riscv_pause(); }