Fix a compiler warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56714 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen 2008-09-26 23:45:53 +00:00
parent b7a75a5a54
commit 4598a4ece8

View File

@ -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;