llvm-project
d8a4c61f - [CodeGenPrepare] Consider target memory intrinics as memory use (#159638)

Commit
47 days ago
[CodeGenPrepare] Consider target memory intrinics as memory use (#159638) When deciding to sink address instructions into their uses, we check if it is profitable to do so. The profitability check is based on the types of uses of this address instruction -- if there are users which are not memory instructions, then do not fold. However, this profitability check wasn't considering target intrinsics, which may be loads / stores. This adds some logic to handle target memory intrinsics.
Author
Parents
Loading