Debug Info: clean up usage of Verify.
authorManman Ren <mren@apple.com>
Fri, 28 Jun 2013 05:43:10 +0000 (05:43 +0000)
committerManman Ren <mren@apple.com>
Fri, 28 Jun 2013 05:43:10 +0000 (05:43 +0000)
commit983a16c08adbeb89c34e894647d4ae08a0417481
tree064443222a08013d92f082ec72a34db4e400894c
parent0a00836bb7be52daa291c681d6041300b627bc21
Debug Info: clean up usage of Verify.

No functionality change.
It should suffice to check the type of a debug info metadata, instead of
calling Verify. For cases where we know the type of a DI metadata, use
assert.

Also update testing cases to make them conform to the format of DI classes.

llvm-svn: 185135
17 files changed:
llvm/lib/CodeGen/MachineInstr.cpp
llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp
llvm/lib/Transforms/IPO/StripSymbols.cpp
llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
llvm/lib/Transforms/Utils/Local.cpp
llvm/test/CodeGen/ARM/2010-08-04-StackVariable.ll
llvm/test/CodeGen/Generic/dbg_value.ll
llvm/test/CodeGen/X86/2010-08-04-StackVariable.ll
llvm/test/DebugInfo/2010-03-24-MemberFn.ll
llvm/test/DebugInfo/X86/2011-12-16-BadStructRef.ll
llvm/test/Transforms/InstCombine/debuginfo.ll
llvm/tools/opt/opt.cpp