The whole-program-devirt pass needs to run at -O0 because only it
knows about the llvm.type.checked.load intrinsic: it needs to both
lower the intrinsic itself and handle it in the summary.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 6787 Build 6787: arc lint + arc unit
Event Timeline
Comment Actions
None of the CFI/whole-program-devirt stuff seems like it will work with the new PM because it isn't threading the pointer to the summary index through to the passes :(
Test?
I guess we could add an "end to end" test for this with llvm-lto2.