X86 Intrinsics: _bit_scan_forward should not be under #ifdef __RDRND__
authorZvi Rackover <zvi.rackover@intel.com>
Mon, 10 Jul 2017 07:13:56 +0000 (07:13 +0000)
committerZvi Rackover <zvi.rackover@intel.com>
Mon, 10 Jul 2017 07:13:56 +0000 (07:13 +0000)
commit064f00061b600db83e2852892349bc9c0ec30c33
treee787fabb400f96a561b3962cd8af0e0ecf2cd778
parent70b1af592113779a700219ccf1e56b4da69ae3d3
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

llvm-svn: 307524
clang/lib/Headers/immintrin.h
clang/test/CodeGen/bitscan-builtins.c