unskipableSimplifyCode() was added to handle unsafe BL8_NOTOC instruction when TOC was not completely removed. The function is not needed after confirming no TOC usage with PC Relative addressing.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/PowerPC/PPCMIPeephole.cpp | ||
---|---|---|
128–132 | nit : For both the comment and the message in the assert. Ending the sentences with just "PC Relative" seems incorrect, may be use PC Relative instructions/functionality/operations. I see many asserts ending with or without full stops and some with exclamation sign. Not sure which one is correct. |
LGTM. Thanks for cleaning this up.
llvm/lib/Target/PowerPC/PPCMIPeephole.cpp | ||
---|---|---|
128–132 | I don't think we should be mentioning R2 as that doesn't really indicate what the problem is: |
nit : For both the comment and the message in the assert. Ending the sentences with just "PC Relative" seems incorrect, may be use PC Relative instructions/functionality/operations. I see many asserts ending with or without full stops and some with exclamation sign. Not sure which one is correct.