Partially revert r111155. It looks like MSVC is calling an operator<() that
[oota-llvm.git] / lib / Target / X86 / X86FloatingPoint.cpp
index f597f476feecb64abc43fddf9749913d1018ef9c..4bf7cdbdbeedc4cd13f8d9d26cd147a1717e9823 100644 (file)
@@ -572,6 +572,9 @@ namespace {
     friend bool operator<(const TableEntry &TE, unsigned V) {
       return TE.from < V;
     }
+    friend bool operator<(unsigned V, const TableEntry &TE) {
+      return V < TE.from;
+    }
   };
 }