diff options
author | Zvi Rackover <zvi.rackover@intel.com> | 2017-07-10 07:13:56 +0000 |
---|---|---|
committer | Zvi Rackover <zvi.rackover@intel.com> | 2017-07-10 07:13:56 +0000 |
commit | 5562594fbaa89ef0a8ec16eb79f7f5df36bce299 (patch) | |
tree | f6375ae08b94045d26198a54d079fe05bb4dfec9 /test/CodeGen | |
parent | cdaa7145a1278dc967c6e1acaa6225b0541525a3 (diff) |
X86 Intrinsics: _bit_scan_forward should not be under #ifdef __RDRND__
Summary:
The _bit_scan_forward and _bit_scan_reverse intrinsics were accidentally
masked under the preprocessor checks that prune intrinsics definitions for the
benefit of faster compile-time on Windows. This patch moves the
definitons out of that region.
Fixes pr33722
Reviewers: craig.topper, aaboud, thakis
Reviewed By: craig.topper
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D35184
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@307524 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/bitscan-builtins.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/bitscan-builtins.c b/test/CodeGen/bitscan-builtins.c index 71e49845f8..5fd3f13fbc 100644 --- a/test/CodeGen/bitscan-builtins.c +++ b/test/CodeGen/bitscan-builtins.c @@ -1,5 +1,8 @@ // RUN: %clang_cc1 -ffreestanding -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s +// PR33722 +// RUN: %clang_cc1 -ffreestanding -triple x86_64-unknown-unknown -D_MSC_VER -emit-llvm -o - %s | FileCheck %s + #include <immintrin.h> int test_bit_scan_forward(int a) { |