From: Sid Manning Date: Wed, 15 Oct 2014 19:32:52 +0000 (+0000) Subject: Wrong attribute. LLVM_ATTRIBUTE_USED not LLVM_ATTRIBUTE_UNUSED X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a169d594378a53bf93ea1545616eb39425cc0315;p=oota-llvm.git Wrong attribute. LLVM_ATTRIBUTE_USED not LLVM_ATTRIBUTE_UNUSED git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219837 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp b/lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp index a526942315f..9816d5b9a74 100644 --- a/lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp +++ b/lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp @@ -63,7 +63,7 @@ static bool isExtended(uint64_t TSFlags) { } // Currently just used in an assert statement -static bool isExtendable(uint64_t TSFlags) LLVM_ATTRIBUTE_UNUSED; +static bool isExtendable(uint64_t TSFlags) LLVM_ATTRIBUTE_USED; // Return true if the instruction may be extended based on the operand value. static bool isExtendable(uint64_t TSFlags) { return (TSFlags >> HexagonII::ExtendablePos) & HexagonII::ExtendableMask;