aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Driver/ToolChainTest.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2023-09-27 18:12:29 +0100
committerGitHub <noreply@github.com>2023-09-27 18:12:29 +0100
commitaff6ffc8760b99cc3d66dd6e251a4f90040c0ab9 (patch)
tree6e92e67c15e373bd4dc870f61e94cf0c96bd6068 /clang/unittests/Driver/ToolChainTest.cpp
parent72b8d25ae6e45050f82aca5230239c26eb027eb1 (diff)
downloadllvm-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