This change helps to prevents mixing fine grained and non fine grained bit-field
addressing schemes, which can result in incorrect poison state at
initialization. The IR function attribute fine_grained_bitfields is only added
when fine grained bitfield accesses are enable. The attribute is used by opt to
prevent inlining.
Details
Details
- Reviewers
rjmccall aaron.ballman efriedma
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The changes look reasonable to me as far as they go, but I'm not confident I understand the LLVM bits this builds on top of well enough to accept with much authority. So giving my LG, but not accepting the review so other reviewers can weigh in.
Comment Actions
I am closing this ticket as we are working on alternative solutions to poison based load semantics.
Thanks to everyone for taking the time to discuss this patch and its limitations!