diff options
author | Vang Thao <vang.thao@amd.com> | 2022-01-18 13:53:41 +0000 |
---|---|---|
committer | Vang Thao <vang.thao@amd.com> | 2022-01-18 14:17:40 +0000 |
commit | 10ed1eca241f893085b8db40138e588e72aaee3a (patch) | |
tree | 336e817e35728cc7c2e2ee5c4564a6e16e0c9106 /clang/lib/Frontend/FrontendActions.cpp | |
parent | 67ac3f1fbeec6ac53a2e32014fe277e49c77b182 (diff) | |
download | llvm-10ed1eca241f893085b8db40138e588e72aaee3a.zip llvm-10ed1eca241f893085b8db40138e588e72aaee3a.tar.gz llvm-10ed1eca241f893085b8db40138e588e72aaee3a.tar.bz2 |
[MachineSink] Allow sinking of constant or ignorable physreg uses
For AMDGPU, any use of the physical register EXEC prevents sinking even if it is not a real physical register read. Add check to see if a physical
register use can be ignored for sinking.
Also perform same constant and ignorable physical register check when considering sinking in loops.
https://reviews.llvm.org/D116053
Diffstat (limited to 'clang/lib/Frontend/FrontendActions.cpp')
0 files changed, 0 insertions, 0 deletions