IR: Give 'DI' prefix to debug info metadata
[oota-llvm.git] / lib / Transforms / Utils / Local.cpp
index 492dc07d1eb8991d998be4316eada2d8f9359068..4d40ba842a086eaec8dea83849b7bfccacfd49a7 100644 (file)
@@ -978,7 +978,7 @@ unsigned llvm::getOrEnforceKnownAlignment(Value *V, unsigned PrefAlign,
 ///
 
 /// See if there is a dbg.value intrinsic for DIVar before I.
-static bool LdStHasDebugValue(const MDLocalVariable *DIVar, Instruction *I) {
+static bool LdStHasDebugValue(const DILocalVariable *DIVar, Instruction *I) {
   // Since we can't guarantee that the original dbg.declare instrinsic
   // is removed by LowerDbgDeclare(), we need to make sure that we are
   // not inserting the same dbg.value intrinsic over and over.