This patch changes ISD::isBuildVectorAllZeros to
ISD::isConstantSplatVectorAllZeros which handles zero sclar vector.
TestPlan: check-llvm
Paths
| Differential D100813
[DAGCombiner] Support fold zero scalar vector. ClosedPublic Authored by junparser on Apr 19 2021, 9:09 PM.
Details Summary This patch changes ISD::isBuildVectorAllZeros to TestPlan: check-llvm
Diff Detail
Event TimelineHerald added subscribers: frasercrmck, ecnelises, luismarques and 20 others. · View Herald TranscriptApr 19 2021, 9:09 PM junparser added a child revision: D100816: [AArch64][SVE] Lower index_vector to step_vector.Apr 19 2021, 10:40 PM This revision is now accepted and ready to land.Apr 20 2021, 12:52 AM Closed by commit rG1ef5699d1a86: [DAGCombiner] Support fold zero scalar vector. (authored by junparser). · Explain WhyApr 20 2021, 1:29 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 338762 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AArch64/sve-int-arith.ll
llvm/test/CodeGen/AArch64/sve-int-log.ll
llvm/test/CodeGen/RISCV/rvv/vdiv-sdnode-rv32.ll
llvm/test/CodeGen/RISCV/rvv/vdiv-sdnode-rv64.ll
llvm/test/CodeGen/RISCV/rvv/vrem-sdnode-rv32.ll
llvm/test/CodeGen/RISCV/rvv/vrem-sdnode-rv64.ll
|