diff options
author | Aaron Smith <aaron.smith@microsoft.com> | 2018-05-07 20:15:50 +0000 |
---|---|---|
committer | Aaron Smith <aaron.smith@microsoft.com> | 2018-05-07 20:15:50 +0000 |
commit | 47589e09dd6cfd731a257bbcdf06a34878cd2656 (patch) | |
tree | 57e7cc5bb669f7bf6e7f47d4daa0114f26b76ad4 /llvm/tools/llvm-rc/ResourceScriptParser.cpp | |
parent | fb807d4dd49f912313ea2fde4fd3acac271a09cb (diff) | |
download | bcm5719-llvm-47589e09dd6cfd731a257bbcdf06a34878cd2656.tar.gz bcm5719-llvm-47589e09dd6cfd731a257bbcdf06a34878cd2656.zip |
[SelectionDAG] Transfer DbgValues when casts are optimized in SelectionDAG::getNode
Summary:
getNode optimizes (ext (trunc x)) to x and the dbgvalue node on trunc is lost. The fix calls transferDbgValues to add the dbgvalue to x.
Add DebugInfo/AArch64/dbg-value-i16.ll
Patch by Sejong Oh!
Reviewers: aprantl, javed.absar, llvm-commits, vsk
Reviewed By: aprantl, vsk
Subscribers: kristof.beyls, JDevlieghere, llvm-commits
Differential Revision: https://reviews.llvm.org/D46348
llvm-svn: 331665
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions