[llvm] [RISCV] Move vector pseudo hasAllNBitUsers switch into RISCVBaseInfo.{h,cpp}. NFC (PR #67593)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 27 12:23:22 PDT 2023


================
@@ -2753,148 +2753,6 @@ bool RISCVDAGToDAGISel::selectSHXADD_UWOp(SDValue N, unsigned ShAmt,
   return false;
 }
 
-static bool vectorPseudoHasAllNBitUsers(SDNode *User, unsigned UserOpNo,
----------------
preames wrote:

Killing off this helper function hurts readability.  Please undo.  

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


More information about the llvm-commits mailing list