[PATCH] D26008: CodeGen: Handle missed case of block removal during BlockPlacement.
David Li via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 27 13:47:42 PDT 2016
davidxl added inline comments.
================
Comment at: lib/CodeGen/MachineBlockPlacement.cpp:1503
else
- rotateLoop(LoopChain, ExitingBB, LoopBlockSet);
+ rotateLoop(LoopChain, PreferredLoopExit, LoopBlockSet);
----------------
Should the right fix be to move the 'findBestLoopExit' after buildChain call?
Repository:
rL LLVM
https://reviews.llvm.org/D26008
More information about the llvm-commits
mailing list