[all-commits] [llvm/llvm-project] 7091dd: [AMDGPU] Fix lowering of abs for i16 vectors with ...
Tim Gymnich via All-commits
all-commits at lists.llvm.org
Fri Jun 14 13:53:51 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7091dd277a1e2349f33390be9f3ccf21bff39003
https://github.com/llvm/llvm-project/commit/7091dd277a1e2349f33390be9f3ccf21bff39003
Author: Tim Gymnich <tim at gymni.ch>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
A llvm/test/CodeGen/AMDGPU/abs_i16.ll
Log Message:
-----------
[AMDGPU] Fix lowering of abs for i16 vectors with more than 2 elements (#95413)
fixes #94606
Expansion of `ABS` for `i16` vectors with more than 2 elements is
currently falling back to scalarization of the vector.
This PR adds a custom lowering for `ABS` on `i16` vectors that splits
the vector into multiple `<2 x i 16>` vectors.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list