`AAAddressSpace` currently only works for `LoadInst` and `StoreInst` currently. For `StoreInst`, the corresponding use can be the pointer operand, or value operand, or both. When it is used as value operand, it can prevent `AMDGPUPromoteAlloca` from optimization in certain cases. This patch changes the manifest method such that only pointer operand will be rewritten.
475 KiB
475 KiB