[all-commits] [llvm/llvm-project] 3de970: [RISCV][NFC] Precommit test cases for D120963.
Zakk Chen via All-commits
all-commits at lists.llvm.org
Sat Mar 5 06:31:59 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3de970718c92a19ecac11e0150a8b2c7451b35eb
https://github.com/llvm/llvm-project/commit/3de970718c92a19ecac11e0150a8b2c7451b35eb
Author: Zakk Chen <zakk.chen at sifive.com>
Date: 2022-03-05 (Sat, 05 Mar 2022)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/vmv.s.x-rv64.ll
Log Message:
-----------
[RISCV][NFC] Precommit test cases for D120963.
Commit: 33b61c567883f81c97c26ccdb2afe405e4de794c
https://github.com/llvm/llvm-project/commit/33b61c567883f81c97c26ccdb2afe405e4de794c
Author: Zakk Chen <zakk.chen at sifive.com>
Date: 2022-03-05 (Sat, 05 Mar 2022)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/test/CodeGen/RISCV/rvv/vmv.s.x-rv64.ll
Log Message:
-----------
[RISCV] Fix incorrect codegen introduced by D119688.
We should not emit a tail agnostic vlse for a tail undisturbed vmv.s.x
In D119688:
- if (IsScalarMove && !Node->getOperand(0).isUndef())
+ bool HasPassthruOperand = Node->getOpcode() != ISD::SPLAT_VECTOR;
+ if (HasPassthruOperand && !IsScalarMove &&
!Node->getOperand(0).isUndef())
break;
The IsScalarMove check in the if statement had been changed.
Differential Revision: https://reviews.llvm.org/D120963
Compare: https://github.com/llvm/llvm-project/compare/fda7d029e52d...33b61c567883
More information about the All-commits
mailing list