[PATCH] D146810: [CodeGen] Compile-time improvement for Machine Late Instructions Cleanup Pass.

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 12:25:34 PDT 2023


jonpa added a comment.

Thanks for trying the idea of a single map!

On SystemZ, the two versions show practically identical runtimes, so there is no winner. Is there any difference at all on your machine?

I am thinking maybe it would be possible to lookup Reg only once by calling removeRedundantDef() with MI and also the KillMI. That way, clearKillsForDef() wouldn't have to duplicate the same lookup.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146810/new/

https://reviews.llvm.org/D146810



More information about the llvm-commits mailing list