summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-08-01 23:14:32 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-08-01 23:14:32 +0000
commit37e7f959c0a381a0eddaed465426bb3605a1ef44 (patch)
tree67fe541ea3cbbb75607b98a02e4b81bf4b5fac8e /llvm/tools/llvm-objcopy/llvm-objcopy.cpp
parent81ea122121ed82bb229e39014505b3b0146c0532 (diff)
downloadbcm5719-llvm-37e7f959c0a381a0eddaed465426bb3605a1ef44.tar.gz
bcm5719-llvm-37e7f959c0a381a0eddaed465426bb3605a1ef44.zip
[AMDGPU] Collapse adjacent SI_END_CF
Add a pass to remove redundant S_OR_B64 instructions enabling lanes in the exec. If two SI_END_CF (lowered as S_OR_B64) come together without any vector instructions between them we can only keep outer SI_END_CF, given that CFG is structured and exec bits of the outer end statement are always not less than exec bit of the inner one. This needs to be done before the RA to eliminate saved exec bits registers but after register coalescer to have no vector registers copies in between of different end cf statements. Differential Revision: https://reviews.llvm.org/D35967 llvm-svn: 309762
Diffstat (limited to 'llvm/tools/llvm-objcopy/llvm-objcopy.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud