[PATCH] D121366: Allow ImproveChain to get past relaxed atomics

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 23 23:43:35 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:24066
+    if (const auto *AN = dyn_cast<AtomicSDNode>(N)) {
+      // PRE_INC / PRE_DEC allegedly not a relevant issue, can set this to zero
+      int64_t Offset = 0;
----------------
I'm not sure what this comment is trying to say


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121366



More information about the llvm-commits mailing list