diff options
Diffstat (limited to 'test/CodeGen/builtin-clzero.c')
-rw-r--r-- | test/CodeGen/builtin-clzero.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/builtin-clzero.c b/test/CodeGen/builtin-clzero.c new file mode 100644 index 0000000000000..c9960ced12ecb --- /dev/null +++ b/test/CodeGen/builtin-clzero.c @@ -0,0 +1,9 @@ +// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin -target-feature +clzero -emit-llvm -o - -Wall -Werror | FileCheck %s +#define __MM_MALLOC_H + +#include <x86intrin.h> +void test_mm_clzero(void * __m) { + //CHECK-LABEL: @test_mm_clzero + //CHECK: @llvm.x86.clzero + _mm_clzero(__m); +} |