[llvm] [AMDGPU][PromoteAlloca] Whole-function alloca promotion to vector (PR #84735)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 15 02:47:34 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;
- }
-
----------------
arsenm wrote:
Pre-commit the drop of bitcast handling in existing code
https://github.com/llvm/llvm-project/pull/84735
More information about the llvm-commits
mailing list