[PATCH] D145065: [DAG] expandIntMINMAX - attempt to match existing SETCC node

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 08:49:46 PST 2023


goldstein.w.n added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:9542
+    }
+    for (ISD::CondCode CC : {PrefCommuteCC, AltCommuteCC}) {
+      if (DAG.doesNodeExist(ISD::SETCC, BoolVTList,
----------------
Maybe there should be a TLI flag to do `PrefCommuteCC` before `AltCC`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145065



More information about the llvm-commits mailing list