Reapply "[DebugInfo] Use variadic debug values to salvage BinOps and GEP instrs with...
authorStephen Tozer <Stephen.Tozer@Sony.com>
Thu, 11 Mar 2021 15:01:37 +0000 (15:01 +0000)
committerStephen Tozer <Stephen.Tozer@Sony.com>
Mon, 12 Apr 2021 15:57:29 +0000 (16:57 +0100)
commitf2e4f3eff3c9135d92840016f8ed4540cdd1313b
tree0a88adc25889b35c9e3b7e9c890a0cd479521d09
parent8508b1c133f6dea558fd62f73cf333bdec809026
Reapply "[DebugInfo] Use variadic debug values to salvage BinOps and GEP instrs with non-const operands"

The causes of the previous build errors have been fixed in revisions
aa3e78a59fdf3b211be72f1b3221af831665e67d, and
140757bfaaa00110a92d2247a910c847e6e3bcc8

This reverts commit f40976bd01032f4905dde361e709166704581077.
17 files changed:
llvm/include/llvm/IR/DebugInfoMetadata.h
llvm/include/llvm/IR/Instructions.h
llvm/include/llvm/IR/IntrinsicInst.h
llvm/include/llvm/IR/Operator.h
llvm/include/llvm/Transforms/Utils/Local.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/IR/DebugInfoMetadata.cpp
llvm/lib/IR/Instructions.cpp
llvm/lib/IR/IntrinsicInst.cpp
llvm/lib/IR/Operator.cpp
llvm/lib/Transforms/Coroutines/CoroFrame.cpp
llvm/lib/Transforms/Utils/Local.cpp
llvm/test/DebugInfo/NVPTX/debug-info.ll
llvm/test/DebugInfo/salvage-gep.ll [new file with mode: 0644]
llvm/test/DebugInfo/salvage-nonconst-binop.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/debuginfo-sink.ll
llvm/test/Transforms/Reassociate/undef_intrinsics_when_deleting_instructions.ll