This is an archive of the discontinued LLVM Phabricator instance.

[clang][SVE] Undefine preprocessor macro defined in
ClosedPublic

Authored by mgabka on Aug 10 2022, 8:42 AM.

Details

Summary

arm_sve.h defines and uses __ai macro which needs to be undefined (as it is
already in arm_neon.h).

Diff Detail

Event Timeline

mgabka created this revision.Aug 10 2022, 8:42 AM
mgabka requested review of this revision.Aug 10 2022, 8:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 10 2022, 8:42 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
paulwalker-arm added inline comments.Aug 10 2022, 9:13 AM
clang/utils/TableGen/SveEmitter.cpp
1285

Can you also do this for __aio?

mgabka updated this revision to Diff 451791.Aug 11 2022, 3:00 AM
mgabka marked an inline comment as done.
mgabka added inline comments.
clang/utils/TableGen/SveEmitter.cpp
1285

sure, I didn't notice that one.

paulwalker-arm accepted this revision.Aug 11 2022, 3:10 AM
This revision is now accepted and ready to land.Aug 11 2022, 3:10 AM
This revision was automatically updated to reflect the committed changes.