[PATCH] D123394: [CodeGen] Late cleanup of redundant address/immediate definitions.
Chris Lattner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 14 12:53:08 PDT 2022
lattner added a comment.
Do you have a sense of what (in practice) is causing the dead operations to get emitted? Can they practically be handled upstream? Such a thing would be a win for all the upstream cost models and would reduce compile time.
I wonder if a version of your pass working as an "assertion" could shake out some obvious missed optimizations or other bugs that cause extraneous instructions to get emitted.
If there are well known things that are impractical to handle (for one reason or another) then something like this would make sense to me.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123394/new/
https://reviews.llvm.org/D123394
More information about the llvm-commits
mailing list