[llvm] [AMDGPU][PromoteAlloca] Whole-function alloca promotion to vector (PR #84735)
Pierre van Houtryve via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 19 00:47:38 PDT 2024
================
@@ -724,14 +808,6 @@ bool AMDGPUPromoteAllocaImpl::tryPromoteAllocaToVector(AllocaInst &Alloca) {
continue;
}
- if (isa<BitCastInst>(Inst)) {
- // Look through bitcasts.
- for (Use &U : Inst->uses())
- Uses.push_back(&U);
- UsersToRemove.push_back(Inst);
- continue;
- }
-
----------------
Pierre-vh wrote:
#85747
https://github.com/llvm/llvm-project/pull/84735
More information about the llvm-commits
mailing list