diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index fa62b4712b5..a049cea8d85 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -3298,7 +3298,6 @@ InstVal : ArithmeticOps Types ValueRef ',' ValueRef { //FIXME : In 3.0, stop accepting zext, sext and inreg as optional function //attributes. Attributes RetAttrs = 0; - Attributes TmpAttr = $8; if ($8 != Attribute::None) { if ($8 & Attribute::ZExt) { RetAttrs = RetAttrs | Attribute::ZExt;