[PATCH] D127960: [InstCombine] Push freeze through recurrence phi

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 06:11:18 PDT 2022


nikic added a comment.

Okay, I just checked the CanonicalizeFreezeInLoops tests, and there is one case that it handles but InstCombine doesn't: https://github.com/llvm/llvm-project/blob/c6b88cb9184fc6c17bb3d9c2c9568646dc46638d/llvm/test/Transforms/CanonicalizeFreezeInLoops/onephi.ll#L361 This is the case where the step value needs to be frozen.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127960



More information about the llvm-commits mailing list