[PATCH] D146810: [CodeGen] Compile-time improvement for Machine Late Instructions Cleanup Pass.
Valery Pykhtin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 09:10:00 PDT 2023
vpykhtin abandoned this revision.
vpykhtin added a comment.
> I tried this patch again a final time, this time passing the RegInfo pointer to removeRedundantDef() and further into clearKillsForDef(). My idea here is that this would only mean a single lookup for both the def and the kill. This was however also not any faster at all.
>
> I also tried having a vector of RegInfo:s for each MBB - instead of a map. The idea was to make the lookup time linear, but this was much slower in small functions (while perhaps good idea in huge ones).
>
> I have tried different map types before, so I don't think there is anything to gain from that.
>
> I will post my patch as a separate review...
Ok, thank you, I'll close this one.
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