We need such a flag to check whether the transformation is correct if LowerGEP was enabled.
Related Differential: https://reviews.llvm.org/D143542
Differential D143980
[NFC][SeparateConstOffsetFromGEP] Added flag `lower-gep` Peakulorain on Feb 13 2023, 10:07 PM. Authored by
Details We need such a flag to check whether the transformation is correct if LowerGEP was enabled. Related Differential: https://reviews.llvm.org/D143542
Diff Detail Event TimelineComment Actions As LowerGEP is a pass parameter, it would be better to expose it via the NewPM pass parameter intrastructure. It would become something like -passes="separate-const-offset-from-gep<lower-gep>". Grep for FUNCTION_PASS_WITH_PARAMS for some examples.
|