[PATCH] D11621: AMDGPU/SI: Mark SMRD instructions as rematerializable

Matt Arsenault Matthew.Arsenault at amd.com
Wed Jul 29 20:12:11 PDT 2015


arsenm added a comment.

I don't this is generally OK. It will probably work now since we only use SMRD currently for constant memory, but if it were a volatile load it can't be rematerialized. The generic version checks the AA if the load is invariant.


http://reviews.llvm.org/D11621







More information about the llvm-commits mailing list