diff options
author | Luke Lau <luke@igalia.com> | 2023-09-27 18:12:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 18:12:29 +0100 |
commit | aff6ffc8760b99cc3d66dd6e251a4f90040c0ab9 (patch) | |
tree | 6e92e67c15e373bd4dc870f61e94cf0c96bd6068 /clang/unittests/Driver/ToolChainTest.cpp | |
parent | 72b8d25ae6e45050f82aca5230239c26eb027eb1 (diff) | |
download | llvm-aff6ffc8760b99cc3d66dd6e251a4f90040c0ab9.zip llvm-aff6ffc8760b99cc3d66dd6e251a4f90040c0ab9.tar.gz llvm-aff6ffc8760b99cc3d66dd6e251a4f90040c0ab9.tar.bz2 |
[RISCV] Handle .vx pseudos in hasAllNBitUsers (#67419)
Vector pseudos with scalar operands only use the lower SEW bits (or less
in the
case of shifts and clips). This patch accounts for this in
hasAllNBitUsers for
both SDNodes in RISCVISelDAGToDAG. We also need to handle this in
RISCVOptWInstrs otherwise we introduce slliw instructions that are less
compressible than their original slli counterpart.
Diffstat (limited to 'clang/unittests/Driver/ToolChainTest.cpp')
0 files changed, 0 insertions, 0 deletions