aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-06-13 23:42:32 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-06-13 23:42:32 +0000
commit4e52366c2a3ba1bcad9c4d3b798080c1d59aafc7 (patch)
treee7056bb0e6052b4c8010d26b97d0257db18ddda5 /llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp
parent680c7605a7b2975f8568ada47d972d818a803c56 (diff)
downloadllvm-4e52366c2a3ba1bcad9c4d3b798080c1d59aafc7.zip
llvm-4e52366c2a3ba1bcad9c4d3b798080c1d59aafc7.tar.gz
llvm-4e52366c2a3ba1bcad9c4d3b798080c1d59aafc7.tar.bz2
[globalisel][legalizer] G_LOAD/G_STORE NarrowScalar should not emit G_GEP x, 0.
Summary: When legalizing G_LOAD/G_STORE using NarrowScalar, we should avoid emitting %0 = G_CONSTANT ty 0 %1 = G_GEP %x, %0 since it's cheaper to not emit the redundant instructions than it is to fold them away later. Reviewers: qcolombet, t.p.northover, ab, rovka, aditya_nandakumar, kristof.beyls Reviewed By: qcolombet Subscribers: javed.absar, llvm-commits, igorb Differential Revision: https://reviews.llvm.org/D32746 llvm-svn: 305340
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp')
0 files changed, 0 insertions, 0 deletions