X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FIR%2FAsmWriter.cpp;h=31d960e96cb120e41538e71dd271e827e063c203;hp=ebc78e0517fa7bb8c440dec4962380fc99a0a948;hb=0917b70630bb3f426cacd6c89a2bdf0b9aaf6865;hpb=bf21d40070d18a82b3f0af0c05dc3d7e33b11f3a diff --git a/lib/IR/AsmWriter.cpp b/lib/IR/AsmWriter.cpp index ebc78e0517f..31d960e96cb 100644 --- a/lib/IR/AsmWriter.cpp +++ b/lib/IR/AsmWriter.cpp @@ -2340,7 +2340,7 @@ static void WriteMDNodeComment(const MDNode *Node, return; Value *Op = Node->getOperand(0); - if (!Op || !isa(Op) || cast(Op)->getBitWidth() < 32) + if (!Op || !isa(Op)) return; DIDescriptor Desc(Node);