1 // RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-unknown-unknown -target-feature +cldemote -emit-llvm -o - -Wall -Werror | FileCheck %s
2 // RUN: %clang_cc1 %s -ffreestanding -triple=i386-unknown-unknown -target-feature +cldemote -emit-llvm -o - -Wall -Werror | FileCheck %s
6 void test_cldemote(const void *p
) {
7 //CHECK-LABEL: @test_cldemote
8 //CHECK: call void @llvm.x86.cldemote(ptr %{{.*}})
10 //CHECK: call void @llvm.x86.cldemote(ptr %{{.*}})