[PATCH] D115231: [Clang] Add __builtin_reduce_xor

Florian Hahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 7 07:40:24 PST 2021


fhahn added inline comments.


================
Comment at: clang/lib/Sema/SemaChecking.cpp:2113
+  case Builtin::BI__builtin_reduce_xor:
     if (SemaBuiltinReduceMath(TheCall))
       return ExprError();
----------------
I think `reduce_xor` is only specified for integer types, so I think we need an extra check here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115231



More information about the cfe-commits mailing list