Marked with ATTRIBUTE_USED so that clang doesn't complain.
authorBill Wendling <isanbard@gmail.com>
Wed, 18 Aug 2010 18:40:57 +0000 (18:40 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 18 Aug 2010 18:40:57 +0000 (18:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111383 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86FloatingPoint.cpp

index 4bf7cdbdbeedc4cd13f8d9d26cd147a1717e9823..e6ebf669587dd40e01c08eb2c708fdca74870938 100644 (file)
@@ -572,7 +572,7 @@ namespace {
     friend bool operator<(const TableEntry &TE, unsigned V) {
       return TE.from < V;
     }
-    friend bool operator<(unsigned V, const TableEntry &TE) {
+    friend bool ATTRIBUTE_USED operator<(unsigned V, const TableEntry &TE) {
       return V < TE.from;
     }
   };