2017-10-13 01:21:01 +08:00
|
|
|
// RUN: %clang_cc1 %s -ffreestanding -triple=x86_64-apple-darwin -target-feature +clzero -emit-llvm -o - -Wall -Werror | FileCheck %s
|
2017-02-09 14:10:14 +08:00
|
|
|
|
|
|
|
#include <x86intrin.h>
|
2017-10-13 01:21:01 +08:00
|
|
|
|
2017-02-09 14:10:14 +08:00
|
|
|
void test_mm_clzero(void * __m) {
|
|
|
|
//CHECK-LABEL: @test_mm_clzero
|
2017-02-09 14:22:43 +08:00
|
|
|
//CHECK: @llvm.x86.clzero
|
2017-02-09 14:10:14 +08:00
|
|
|
_mm_clzero(__m);
|
|
|
|
}
|