Skip to content
Unverified Commit a501d06f authored by Shilei Tian's avatar Shilei Tian Committed by GitHub
Browse files

[Attributor] Only manifest pointer operand for `StoreInst` in `AAAddressSpace` (#65708)

`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.
parent 31d4f069
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment