projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ARM] Enable shrink-wrapping by default.
[oota-llvm.git]
/
lib
/
IR
/
AsmWriter.cpp
diff --git
a/lib/IR/AsmWriter.cpp
b/lib/IR/AsmWriter.cpp
index aaa719eda7e11c2dd780b8e8ab625413c86b4be4..759c5a8001c00158947e1b701e787f7b95812c4b 100644
(file)
--- a/
lib/IR/AsmWriter.cpp
+++ b/
lib/IR/AsmWriter.cpp
@@
-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;