Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4085,6 +4085,7 @@ bool RISCVDAGToDAGISel::hasAllNBitUsers(SDNode *Node, unsigned Bits,
case RISCV::ROLW:
case RISCV::RORW:
case RISCV::RORIW:
case RISCV::CLSW:
case RISCV::CLZW:
case RISCV::CTZW:
case RISCV::CPOPW:
Expand Down
1 change: 1 addition & 0 deletions llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20909,6 +20909,7 @@ SDValue RISCVTargetLowering::PerformDAGCombine(SDNode *N,
break;
}
case RISCVISD::ABSW:
case RISCVISD::CLSW:
case RISCVISD::CLZW:
case RISCVISD::CTZW: {
// Only the lower 32 bits of the first operand are read
Expand Down
1 change: 1 addition & 0 deletions llvm/lib/Target/RISCV/RISCVOptWInstrs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ static bool hasAllNBitUsers(const MachineInstr &OrigMI,
case RISCV::ROLW:
case RISCV::RORW:
case RISCV::RORIW:
case RISCV::CLSW:
case RISCV::CLZW:
case RISCV::CTZW:
case RISCV::CPOPW:
Expand Down
Loading