[PATCH] D17288: [CodeGenPrepare] Do select to branch transform when cmp's operand is expensive.

Junmo Park via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 20:23:31 PDT 2016


flyingforyou added a comment.

Hi Chad.

  // Prefer likely predicted branches to selects on out-of-order cores.
  if (Subtarget->isCortexA57() || Subtarget->isKryo())
    PredictableSelectIsExpensive = true;

Recently, you changed `PredictableSelectIsExpensive ` flag on for Kryo. How do you think about this change?


http://reviews.llvm.org/D17288





More information about the llvm-commits mailing list