[llvm] [ConstraintElim] Simplify `MinMaxIntrinsic` (PR #75306)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 13:12:11 PST 2024


================
@@ -1067,6 +1067,8 @@ void State::addInfoFor(BasicBlock &BB) {
     case Intrinsic::smin:
     case Intrinsic::smax:
       WorkList.push_back(FactOrCheck::getInstFact(DT.getNode(&BB), &I));
+      WorkList.push_back(
----------------
fhahn wrote:

comment above needs updating now, as this queues for simplification now. Also, `abs` shouldn't be queued for simplification, right?

https://github.com/llvm/llvm-project/pull/75306


More information about the llvm-commits mailing list