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)
commit0a72d8bb204751eadff25f95b664a7fcf2ed5ab2
tree73b13fdc12946e487fe5b310960c42c2621a7b70
parent9ca230f11ccce9591941149d9cff0be326639c8a
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219846 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/InstPrinter/HexagonInstPrinter.cpp