Wrong attribute. LLVM_ATTRIBUTE_USED not LLVM_ATTRIBUTE_UNUSED
llvm-svn: 219837
This commit is contained in:
parent
1cc4fb76da
commit
2ceaeb6baf
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue