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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu May 1 09:37:07 PDT 2025


================
@@ -0,0 +1,1096 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=hawaii -passes=slp-vectorizer %s | FileCheck -check-prefix=GFX7 %s
+; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -passes=slp-vectorizer %s | FileCheck -check-prefix=GFX8 %s
+; RUN: opt -S -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -passes=slp-vectorizer %s | FileCheck -check-prefix=GFX9 %s
+
+define protected amdgpu_kernel void @arith_1(<16 x i8> %invec, ptr %out, i32 %flag) {
----------------
arsenm wrote:

I'm not sure what this tests, the vectorizer doesn't do anything? 

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


More information about the llvm-commits mailing list