[PATCH] D71209: InstCombine: Don't rewrite phi-of-bitcast when the phi has other users
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 9 12:07:11 PST 2019
lebedev.ri added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp:2203
if (OldPhiNodes.insert(PNode))
PhiWorklist.push_back(PNode);
continue;
----------------
I think we should be doing those checks here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71209/new/
https://reviews.llvm.org/D71209
More information about the llvm-commits
mailing list