[PATCH] D117450: [LoopInterchange] Support loop interchange with floating point reductions

Congzhe Cao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 26 09:17:01 PST 2022


congzhe added a comment.

Hi Michael @Meinersbur, I just checked that if we remove the check

  if (PHI.getType()->isFloatingPointTy() &&
          RedDesc[followLCSSA(&PHI)].getExactFPMathInst() != nullptr)

then test5() in `reductions-across-inner-and-outer-loop.ll` would fail, the loop would be interchanged although reordering is not allowed.


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

https://reviews.llvm.org/D117450



More information about the llvm-commits mailing list