diff options
| -rw-r--r-- | llvm/lib/Target/X86/X86FloatingPoint.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86FloatingPoint.cpp b/llvm/lib/Target/X86/X86FloatingPoint.cpp index f597f476fee..4bf7cdbdbee 100644 --- a/llvm/lib/Target/X86/X86FloatingPoint.cpp +++ b/llvm/lib/Target/X86/X86FloatingPoint.cpp @@ -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; + } }; } |

