summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/ConstantMerge.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-30 21:27:58 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-30 21:27:58 +0000
commit6696e22cc9cabefb906104cb1674467d64a9be1b (patch)
treeede3442695ac26c626bb6b2c6781d5254a35517e /llvm/lib/Transforms/IPO/ConstantMerge.cpp
parentcaf9b3ab7de5c7137641de6d213ced44ed41b609 (diff)
downloadbcm5719-llvm-6696e22cc9cabefb906104cb1674467d64a9be1b.tar.gz
bcm5719-llvm-6696e22cc9cabefb906104cb1674467d64a9be1b.zip
IRgen: Fix debug info regression in r106970; when we eliminate the return value
store make sure to move the debug metadata from the store (which is actual 'return' statement location) to the return instruction (which otherwise would have the function end location as its debug info). - Tested by gdb test suite. llvm-svn: 107322
Diffstat (limited to 'llvm/lib/Transforms/IPO/ConstantMerge.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud