[llvm] [AMDGPU] Enable vectorization of i8 values. (PR #134934)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 13 21:32:44 PDT 2025


================
@@ -1907,6 +1907,10 @@ class TargetTransformInfo {
   /// pad to. Default is no padding.
   unsigned getNumBytesToPadGlobalArray(unsigned Size, Type *ArrayType) const;
 
+  /// \return Returns true if vectorizing 4 x i8s into an i32 is possible.
----------------
shiltian wrote:

```suggestion
  /// \return true if vectorizing 4 x i8s into an i32 is possible.
```

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


More information about the llvm-commits mailing list