Currently, SinkCommonCodeFromPredecessors may sink load/store instructions whose
pointer operands are foldable GEPs and replacing those GEPs to phi-nodes if
needed. It's ineffecient if those GEPs could be folded to load/store for target.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60,070 ms | x64 debian > MLIR.Examples/standalone::test.toy |
Event Timeline
Comment Actions
The change influences some X86 test cases. Should I also change those tests to fit their original test purpose?
Comment Actions
Make LoadStoreUseFoldableGEP consider whether OI is pointer operand index or not.
It's needed since store value may be a GEP instruction.
clang-format suggested style edits found: