[llvm] [InstCombine][RISCV] Convert VPIntrinsics with splat operands to splats (PR #65706)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 10:28:48 PDT 2023


================
@@ -729,6 +730,99 @@ bool VectorCombine::foldBitcastShuf(Instruction &I) {
   return true;
 }
 
+/// VP Intrinsics whose vector operands are both splat values may be simplified
+/// into the scalar version of the operation and the result is splatted. This
----------------
lukel97 wrote:

```suggestion
/// into the scalar version of the operation and the result splatted. This
```

https://github.com/llvm/llvm-project/pull/65706


More information about the llvm-commits mailing list