diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-07-12 12:27:34 -0700 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-07-14 13:03:58 -0700 |
commit | 76b7d3432e38bb7690c3bbd4940786b5cb751b95 (patch) | |
tree | 7e1d3e09a666b6fa2b7297c9aa5573ffdd5114ab /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | ba2690b17b9e463b80a1d6c675e3d04fc2974083 (diff) | |
download | llvm-76b7d3432e38bb7690c3bbd4940786b5cb751b95.zip llvm-76b7d3432e38bb7690c3bbd4940786b5cb751b95.tar.gz llvm-76b7d3432e38bb7690c3bbd4940786b5cb751b95.tar.bz2 |
[AMDGPU] Add TII::isIgnorableUse() to allow VOP rematerialization
Any def of EXEC prevents rematerialization of any VOP instruction
because of the physreg use. Create a callback to check if the
physreg use can be ingored to allow rematerialization.
Differential Revision: https://reviews.llvm.org/D105836
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions