[all-commits] [llvm/llvm-project] dd885f: [RISCV] Select unsigned bitfield extracts for XAnd...
Jim Lin via All-commits
all-commits at lists.llvm.org
Wed May 28 19:52:55 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dd885f1f68a2667d285113d758d3e6d868858e09
https://github.com/llvm/llvm-project/commit/dd885f1f68a2667d285113d758d3e6d868858e09
Author: Jim Lin <jim at andestech.com>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/test/CodeGen/RISCV/rv32xandesperf.ll
M llvm/test/CodeGen/RISCV/rv64xandesperf.ll
M llvm/test/CodeGen/RISCV/rv64zba.ll
Log Message:
-----------
[RISCV] Select unsigned bitfield extracts for XAndesPerf (#141398)
The XAndesPerf extension includes unsigned bitfield extraction
instruction `NDS.BFOZ`, which can extract the bits from LSB to MSB,
places them starting at bit 0, and zero-extends the result.
The testcase includes the three patterns that can be selected as
unsigned bitfield extracts: `and`, `and+lshr` and `lshr+and`
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list