Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Out of curiousity (I'm not familiar enough with this aspect of LLVM internals) - what practical difference does this make - wouldn't the existing llvm level intrinsic be usable as such already? (I do see that the same is done for __builtin_arm_dmb and __dmb etc for ARM already, so I'm sure it's right - just curious where it makes a difference.)
GCCBuiltin/MSBuiltin emit tables which get used by clang IR generation. See Intrinsic::getIntrinsicForGCCBuiltin/Intrinsic::getIntrinsicForMSBuiltin.
Thanks for the explanation!
This change looks ok to me. I guess this is a change that isn't too easy to add tests for so I guess it's ok as is?
LGTM.
There aren't any useful tests to add here because the generated tables are only used by clang.
@compnerd We already have tests for llvm.aarch64.dmb etc.