diff options
author | Nicolai Haehnle <nhaehnle@gmail.com> | 2016-07-12 08:12:16 +0000 |
---|---|---|
committer | Nicolai Haehnle <nhaehnle@gmail.com> | 2016-07-12 08:12:16 +0000 |
commit | 7968c3458690af5c8ba8495f460dd5b3c7f525fb (patch) | |
tree | 619a2e6b8982c989382dc1e251b8420c81ebfc85 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 7899d48dff7a2f07a0d0c87f0e8ef72d92ee448f (diff) | |
download | llvm-7968c3458690af5c8ba8495f460dd5b3c7f525fb.zip llvm-7968c3458690af5c8ba8495f460dd5b3c7f525fb.tar.gz llvm-7968c3458690af5c8ba8495f460dd5b3c7f525fb.tar.bz2 |
AMDGPU: Unify MOVRELSOffset and MOVRELDOffset
Summary:
Previously, constant index insertelements would be turned into SI_INDIRECT_DST,
which is bound to prevent some optimization opportunities. Worse, it mislead
the heuristic that decides whether immediates should be lowered to S_MOV_B32
or V_MOV_B32 in a way that resulted in unnecessary v_readfirstlanes.
Reviewers: arsenm, tstellarAMD
Subscribers: arsenm, kzhuravl, llvm-commits
Differential Revision: http://reviews.llvm.org/D22217
llvm-svn: 275160
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions