[PATCH] D44814: [CodeGenPrepare] Split huge basic blocks for faster compilation.
Michael Zolotukhin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 22 19:02:17 PDT 2018
mzolotukhin added a comment.
> BB->size() has multiple problems: one, it's linear time, and two, it doesn't ignore debug info.
What would be a better way to get BB size?
> CodeGenPrepare doesn't run at -O0.
Correct, in the current shape the patch aims only at -Os. Do you think it would be better to have a separate pass for it and schedule it at O0 too?
Thanks,
Michael
Repository:
rL LLVM
https://reviews.llvm.org/D44814
More information about the llvm-commits
mailing list