MI != 0 is checked in the assert right above this.
llvm-svn: 99995
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 6422ec0..17550cb 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1246,7 +1246,7 @@
MDNode *InlinedAt) {
assert(N && "Invalid Scope encoding!");
assert(MI && "Missing machine instruction!");
- bool GetConcreteScope = (MI && InlinedAt);
+ bool GetConcreteScope = InlinedAt != 0;
DbgScope *NScope = NULL;