[llvm] [DAGCombine] Fix multi-use miscompile in load combine (PR #81492)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 16:20:20 PST 2024


================
@@ -9245,6 +9252,14 @@ SDValue DAGCombiner::MatchLoadCombine(SDNode *N) {
   if (!Allowed || !Fast)
     return SDValue();
 
+  // calculatebyteProvider() allows multi-use for vector loads. Ensure that
----------------
topperc wrote:

byte -> Byte

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


More information about the llvm-commits mailing list