[llvm] [ConstraintElim] Simplify `MinMaxIntrinsic` (PR #75306)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 14 07:07:53 PST 2023
================
@@ -1009,6 +1009,13 @@ void State::addInfoFor(BasicBlock &BB) {
if (isa<MinMaxIntrinsic>(&I)) {
WorkList.push_back(FactOrCheck::getInstFact(DT.getNode(&BB), &I));
+ for (Use &U : I.uses()) {
+ auto *UserI = getContextInstForUse(U);
----------------
nikic wrote:
I believe @fhahn's point here was that you should not add support for handling uses in this PR.
https://github.com/llvm/llvm-project/pull/75306
More information about the llvm-commits
mailing list