OSDN Git Service

Preserve DbgLoc when DeadArgumentElimination rewrites a 'ret'.
authorPaul Robinson <paul.robinson@sony.com>
Thu, 28 May 2020 20:19:52 +0000 (13:19 -0700)
committerPaul Robinson <paul.robinson@sony.com>
Fri, 29 May 2020 17:00:33 +0000 (10:00 -0700)
commit8c2d2d971b2a221786e29380666d9900adeaee6a
tree7d8beb27b32cc0f471cdb9cc37af26602e5cd3d9
parenta01c0049b1a3583604259ae7bbe9761fc123adae
Preserve DbgLoc when DeadArgumentElimination rewrites a 'ret'.

Fixes PR46002.
llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
llvm/test/Transforms/DeadArgElim/dbginfo-preserve-dbgloc.ll