[PATCH] D73146: [PGO][PGSO] Update BFI in CodeGenPrepare::optimizeSelectInst.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 22 08:41:05 PST 2020


yamauchi marked an inline comment as done.
yamauchi added inline comments.


================
Comment at: llvm/lib/CodeGen/CodeGenPrepare.cpp:6125
   BasicBlock *EndBlock = StartBlock->splitBasicBlock(SplitPt, "select.end");
+  BFI->setBlockFreq(EndBlock, BFI->getBlockFreq(StartBlock).getFrequency());
 
----------------
davidxl wrote:
> I wonder how many more such bugs are there
So do I. Will check.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73146





More information about the llvm-commits mailing list