[all-commits] [llvm/llvm-project] 4cf8b2: [AMDGPU][PromoteAlloca] Correctly handle a variabl...
bcahoon via All-commits
all-commits at lists.llvm.org
Tue Mar 5 06:18:31 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4cf8b298cf1837e75243a299ddefd59e6ed80e1b
https://github.com/llvm/llvm-project/commit/4cf8b298cf1837e75243a299ddefd59e6ed80e1b
Author: bcahoon <59846893+bcahoon at users.noreply.github.com>
Date: 2024-03-05 (Tue, 05 Mar 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
A llvm/test/CodeGen/AMDGPU/promote-alloca-non-constant-index.ll
Log Message:
-----------
[AMDGPU][PromoteAlloca] Correctly handle a variable vector index (#83597)
The promote alloca to vector transformation assumes that the
vector index is a constant value. If it is not a constant, then
either an assert occurs or the tranformation generates an
incorrect index.
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