Files
clang-p2996/llvm/lib/Target/DirectX/DXILDataScalarization.cpp
Farzon Lotfi 2a4207e732 [DirectX] Don't limit visitGetElementPtrInst to global ptrs (#144959)
fixes #144608
- there is a getPointerOperandIndex function so we don't need to iterate
the operands trying to find the pointer. This resulted in a small
cleanup to visitStoreInst and visitLoadInst.

- The meat of this change was in visitGetElementPtrInst to account for
allocas and not bail when we don't find a global.
2025-06-20 15:23:20 -04:00

17 KiB