[all-commits] [llvm/llvm-project] 1a8ba9: [RISCV] Improve selection of PACKW.
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Nov 13 19:07:04 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1a8ba9e19f49dc0fc82615db13ad15f301077145
https://github.com/llvm/llvm-project/commit/1a8ba9e19f49dc0fc82615db13ad15f301077145
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-11-13 (Sun, 13 Nov 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
M llvm/test/CodeGen/RISCV/rv32zbkb.ll
M llvm/test/CodeGen/RISCV/rv64zbkb.ll
Log Message:
-----------
[RISCV] Improve selection of PACKW.
Use hasAllWUsers to check if the upper bits are ignored so we can
use PACKW even when no sign_extend_inreg is present before the OR.
More information about the All-commits
mailing list