[PATCH] D133584: [DAGCombiner] [AMDGPU] Allow vector loads in MatchLoadCombine

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 11:54:58 PDT 2022


arsenm accepted this revision.
arsenm added a comment.

LGTM with nit



================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:7868
+  if (Depth && !Op.hasOneUse() &&
+      !(Op.getOpcode() == ISD::LOAD && Op.getValueType().isVector()))
+    return None;
----------------
deMorgan this 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133584



More information about the llvm-commits mailing list