[ARM] Enable shrink-wrapping by default.
[oota-llvm.git] / lib / IR / AsmWriter.cpp
index aaa719eda7e11c2dd780b8e8ab625413c86b4be4..759c5a8001c00158947e1b701e787f7b95812c4b 100644 (file)
@@ -1328,6 +1328,11 @@ static void WriteConstantInternal(raw_ostream &Out, const Constant *CV,
     return;
   }
 
+  if (isa<ConstantTokenNone>(CV)) {
+    Out << "none";
+    return;
+  }
+
   if (isa<UndefValue>(CV)) {
     Out << "undef";
     return;