[PATCH] D44814: [CodeGenPrepare] Split huge basic blocks for faster compilation.

escha via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 6 12:18:14 PDT 2018


escha added a comment.

this does not feel like the right solution, but even if it is, this will hurt us; we *commonly* have shaders with single basic blocks exceeding 1000 instructions, and splitting them could sabotage scheduling quite badly. in the worst case, it could guarantee spilling, by splitting the block at a point that creates too many live values between the top and bottom.


Repository:
  rL LLVM

https://reviews.llvm.org/D44814





More information about the llvm-commits mailing list