[all-commits] [llvm/llvm-project] a7ebc4: [DAGCombiner] Teach isKnownToBeAPowerOfTwo handle ...
Jianjian Guan via All-commits
all-commits at lists.llvm.org
Tue Aug 17 19:11:04 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a7ebc4d145892fd22442832549cb12c4b6920dea
https://github.com/llvm/llvm-project/commit/a7ebc4d145892fd22442832549cb12c4b6920dea
Author: jacquesguan <jacquesguan at me.com>
Date: 2021-08-18 (Wed, 18 Aug 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/RISCV/rvv/vdivu-sdnode-rv32.ll
M llvm/test/CodeGen/RISCV/rvv/vdivu-sdnode-rv64.ll
M llvm/test/CodeGen/RISCV/rvv/vmul-sdnode-rv32.ll
M llvm/test/CodeGen/RISCV/rvv/vmul-sdnode-rv64.ll
M llvm/test/CodeGen/RISCV/rvv/vremu-sdnode-rv32.ll
M llvm/test/CodeGen/RISCV/rvv/vremu-sdnode-rv64.ll
Log Message:
-----------
[DAGCombiner] Teach isKnownToBeAPowerOfTwo handle SPLAT_VECTOR
Make DAGCombine turn mul by power of 2 into shl for scalable vector.
Reviewed By: frasercrmck
Differential Revision: https://reviews.llvm.org/D107883
More information about the All-commits
mailing list