git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102380
91177308-0d34-0410-b5e6-
96231b3b80d8
return 0;
}
case Intrinsic::dbg_declare: {
- // FIXME: currently, we get here only if OptLevel != CodeGenOpt::None.
- // The real handling of this intrinsic is in FastISel.
-// if (OptLevel != CodeGenOpt::None)
- // FIXME: Variable debug info is not supported here.
-// return 0;
const DbgDeclareInst &DI = cast<DbgDeclareInst>(I);
if (!DIDescriptor::ValidDebugInfo(DI.getVariable(), CodeGenOpt::None))
return 0;