Wrong attribute. LLVM_ATTRIBUTE_UNUSED not LLVM_ATTRIBUTE_USED
authorSid Manning <sidneym@codeaurora.org>
Wed, 15 Oct 2014 20:41:17 +0000 (20:41 +0000)
committerSid Manning <sidneym@codeaurora.org>
Wed, 15 Oct 2014 20:41:17 +0000 (20:41 +0000)
commita0022964276a538e37bb5bafb14136fd0d17a9b3
tree36b6c0f430c78ee4d7532ddbcec34743d39e677b
parent8d5aeb269869b66919864f93e706d054d142b29d
Wrong attribute.  LLVM_ATTRIBUTE_UNUSED not LLVM_ATTRIBUTE_USED

This original fix for the build break was correct.  LLVM_ATTRIBUTE_USED
removes the warning message because it keeps the function in the object
file.  LLVM_ATTRIBUTE_UNUSED indicates that it may or may not be used
depending on build settings.

llvm-svn: 219846
llvm/lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp