This covers the SSE and AVX/AVX2 headers. AVX512 has a lot more macros
due to rounding mode.
Fixes part of PR51324.
Paths
| Differential D107843
[X86] Add parentheses around casts in some of the X86 intrinsic headers. ClosedPublic Authored by craig.topper on Aug 10 2021, 10:08 AM.
Details Summary This covers the SSE and AVX/AVX2 headers. AVX512 has a lot more macros Fixes part of PR51324.
Diff Detail
Event Timelinecraig.topper created this revision. Comment Actions Hard to see through all of the lint noise, but seems like a mechanical fix. This revision is now accepted and ready to land.Aug 10 2021, 6:16 PM Comment Actions I found a few more macro hygiene issues in these headers.
Comment Actions Probably want to address the other cleanups in another patch; the parens fixes and test LGTM. This revision was landed with ongoing or failed builds.Aug 13 2021, 9:46 AM Closed by commit rG4190d99dfcab: [X86] Add parentheses around casts in some of the X86 intrinsic headers. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 365880 clang/lib/Headers/__wmmintrin_aes.h
clang/lib/Headers/avx2intrin.h
clang/lib/Headers/avxintrin.h
clang/lib/Headers/emmintrin.h
clang/lib/Headers/smmintrin.h
clang/lib/Headers/tmmintrin.h
clang/lib/Headers/xmmintrin.h
|
clang-format not found in user’s local PATH; not linting file.