[PATCH] D105344: [DAGCombiner] Fold SETCC(FREEZE(x), y) to SETCC(x, y) if used by BRCOND
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 2 12:10:05 PDT 2021
nikic added a comment.
Might it make sense to consider this as a fold on freeze, which walks a chain of one-use (non-poison-producing) instructions down to a brcond? That would make it easier to generalize for looking through other instructions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105344/new/
https://reviews.llvm.org/D105344
More information about the llvm-commits
mailing list