forked from OSchip/llvm-project
![]() When converting dbg.declares, if the described value is a [s|z]ext, refer to the ext directly instead of referring to its operand. This fixes a narrowing bug (the debugger got the sign of a variable wrong, see llvm.org/PR35400). The main reason to refer to the ext's operand was that an optimization may remove the ext itself, leading to a dropped variable. Now that InstCombine has been taught to use replaceAllDbgUsesWith (r336451), this is less of a concern. Other passes can/should adopt this API as needed to fix dropped variable bugs. Differential Revision: https://reviews.llvm.org/D51813 llvm-svn: 349214 |
||
---|---|---|
.. | ||
PredicateInfo | ||
PR37334-break-crit-edges-require-dt.ll | ||
call-promotion-utils-ptrcast-attribute.ll | ||
call-promotion-utils-ptrcast.ll | ||
clone-dicompileunit.ll | ||
combine-alias-scope-metadata.ll | ||
dbg-user-of-aext.ll | ||
flattencfg.ll | ||
libcalls-fast-math-inf-loop.ll | ||
libcalls-opt-remarks.ll | ||
libcalls-shrinkwrap-double.ll | ||
libcalls-shrinkwrap-float.ll | ||
libcalls-shrinkwrap-long-double.ll | ||
lowerinvoke-funclet.ll | ||
lowerswitch.ll | ||
simplify-dbg-declare-load.ll | ||
store-first-op.ll | ||
strip-gc-relocates.ll | ||
strip-nonlinetable-debuginfo-containingtypes.ll | ||
strip-nonlinetable-debuginfo-cus.ll | ||
strip-nonlinetable-debuginfo-localvars.ll | ||
strip-nonlinetable-debuginfo-loops.ll | ||
strip-nonlinetable-debuginfo-subroutinetypes.ll |