[llvm] [InstCombine][RISCV] Convert VPIntrinsics with splat operands to splats (PR #65706)
Michael Maitland via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 05:55:45 PDT 2023
================
@@ -1737,8 +1855,12 @@ bool VectorCombine::run() {
// This transform works with scalable and fixed vectors
// TODO: Identify and allow other scalable transforms
- if (isa<VectorType>(I.getType()))
- MadeChange |= scalarizeBinopOrCmp(I);
+ if (isa<VectorType>(I.getType())) {
+ if (VPIntrinsic *VPI = dyn_cast<VPIntrinsic>(&I))
----------------
michaelmaitland wrote:
Done.
https://github.com/llvm/llvm-project/pull/65706
More information about the llvm-commits
mailing list