[PATCH] D33150: [CodeGenPrep]Forming branch from select aggressively in loop
Jun Bum Lim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 07:27:58 PDT 2017
junbuml added a comment.
This is a WIP patch and I posted this to get any early feedback about the overall direction and any detail that need to be considered. Basic idea about this was to use an explicit branch when a SelectInst is in frequently executed blocks (e.g., I simply see if SelectInst is in a single latch block) with the hope of HW branch predictor mostly take the right branch during the execution so that we could avoid executing speculated code for most of the loop iterations. I didn't mean to detect any dependence. Sorry for the confusion.
https://reviews.llvm.org/D33150
More information about the llvm-commits
mailing list