[PATCH] D51167: [Pipeliner] Fix incorrect phi values in the epilog and kernel

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 23 10:11:38 PDT 2018


xbolva00 added inline comments.


================
Comment at: llvm/lib/CodeGen/MachinePipeliner.cpp:2728
         // Use the loop value defined in the kernel.
-        else if ((unsigned)LoopValStage + StageDiffAdj > PrologStage + 1 &&
+        else if ((unsigned)LoopValStage > PrologStage + 1 &&
                  VRMap[PrevStage - StageDiffAdj - np].count(LoopVal))
----------------
static_cast ?

+ below too


https://reviews.llvm.org/D51167





More information about the llvm-commits mailing list