[PATCH] D130251: [DAGCombine] Mask doesn't have to be (EltSize - 1) exactly when combining rotation

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 25 06:06:48 PDT 2022


RKSimon added a comment.

How about this?



================
Comment at: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:7311
   //
   // Below, Mask == EltSize - 1 when using [A] and is all-ones otherwise.
   //
----------------
// This allows us to peek through any operations that only the affect Mask's un-demanded bits.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130251



More information about the llvm-commits mailing list