void test_clrex() { // CHECK-LABEL: @test_clrex // CHECK-ARM64-LABEL: @test_clrex __builtin_arm_clrex(); // CHECK: call void @llvm.arm.clrex() // CHECK-ARM64: call void @llvm.aarch64.clrex() }
void test_clrex() { __builtin_arm_clrex(); __builtin_arm_clrex(1); // expected-error {{too many arguments to function call}} }