[PATCH] D106233: [InstCombine] Add freezeAllUsesOfArgument to visitFreeze

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 18 12:57:36 PDT 2021


nikic added a comment.

I think the right way to go about this would be, for any `F = freeze V` replace all uses of `V` dominated by `F` with `F`. Replacing other uses of `V` by hoisting the freeze is likely not profitable.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106233



More information about the llvm-commits mailing list