[llvm] [SystemZ] Simplify f128 atomic load/store (PR #90977)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 10:34:20 PDT 2024


================
@@ -6829,47 +6803,87 @@ SDValue SystemZTargetLowering::combineMERGE(
   return SDValue();
 }
 
+static bool
+isI128MovedToParts(LoadSDNode *LD,
+                   SmallVector<std::pair<SDNode *, int>, 2> &Users) {
+  // Scan through all users.
+  for (SDNode::use_iterator UI = LD->use_begin(), UIEnd = LD->use_end();
----------------
arsenm wrote:

Unbounded users scans are often a bad idea 

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


More information about the llvm-commits mailing list