[all-commits] [llvm/llvm-project] 5a5219: [RISCV] Remove earlyclobber from compares with LMU...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Jun 1 09:08:48 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5a5219a0f961b91253dc3fdb4b33e088b199b451
https://github.com/llvm/llvm-project/commit/5a5219a0f961b91253dc3fdb4b33e088b199b451
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-06-01 (Tue, 01 Jun 2021)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/extload-truncstore.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract-subvector.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-setcc.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-i2fp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert-subvector.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-setcc.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-splat.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-select-int.ll
M llvm/test/CodeGen/RISCV/rvv/select-int.ll
M llvm/test/CodeGen/RISCV/rvv/vmsge-rv32.ll
M llvm/test/CodeGen/RISCV/rvv/vmsgeu-rv32.ll
Log Message:
-----------
[RISCV] Remove earlyclobber from compares with LMUL<=1.
Compares are considered a narrowing operation for register overlap.
I believe for LMUL<=1 they meet this exception to allow overlap
"The destination EEW is smaller than the source EEW and the overlap is in the
lowest-numbered part of the source register group"
Both the result and the sources will occupy a single register for
LMUL<=1 so the overlap would always be in the "lowest-numbered part".
Reviewed By: frasercrmck, HsiangKai
Differential Revision: https://reviews.llvm.org/D103336
More information about the All-commits
mailing list