IRG does not access any memory.
Replace IntrInaccessibleMemOnly with IntrNoMem | IntrHasSideEffects.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I suggested this change here: https://reviews.llvm.org/D60486#inline-574695
But I've got the feeling (from https://reviews.llvm.org/D64414) it a subject for a debate.
Comment Actions
Is there a builtin that lowers to this, e.g., we test it by lowering C -> IR -> asm, and we can check the properties/attributes on the lower levels.
If not, we could probably start at the IR level, lower to asm, and check the final properties.