[llvm] [RISCV] Select unsigned bitfield insert for XAndesPerf (PR #142737)

Jim Lin via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 4 23:58:00 PDT 2025


================
@@ -688,6 +688,23 @@ bool RISCVDAGToDAGISel::tryUnsignedBitfieldExtract(SDNode *Node, SDLoc DL,
   return true;
 }
 
+bool RISCVDAGToDAGISel::tryUnsignedBitfieldInsertInZero(SDNode *Node, SDLoc DL,
----------------
tclin914 wrote:

Agree with @lenary's point and have updated the lsb/msb arguments/variables to accurately represent the least significant bit and most significant bit of the insertion.

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


More information about the llvm-commits mailing list