[llvm] [DAG] MatchLoadCombine - match swapped loads (PR #167416)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 10 15:50:06 PST 2025


================
@@ -9772,12 +9772,40 @@ SDValue DAGCombiner::MatchLoadCombine(SDNode *N) {
                           MemVT))
     return SDValue();
 
+  auto IsRotateLoaded = [](ArrayRef<int64_t> ByteOffsets, int64_t FirstOffset,
----------------
arsenm wrote:

Nothing is captured, don't use a lambda? 

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


More information about the llvm-commits mailing list