[PATCH] D75723: [X86] Enable intrinsics _BitScan*

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 10 21:34:03 PDT 2020


craig.topper added inline comments.


================
Comment at: clang/lib/Headers/ia32intrin.h:417
+#define _BitScanForward(a, b)                                                  \
+  __extension__({                                                              \
+    int c = (int)(b);                                                          \
----------------
craig.topper wrote:
> Is __extension__ needed?
Nevermind it probably is needed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75723/new/

https://reviews.llvm.org/D75723





More information about the cfe-commits mailing list