[llvm-commits] [llvm] r164036 - /llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Mon Sep 17 13:15:43 PDT 2012
On Sep 17, 2012, at 9:46 AM, Benjamin Kramer <benny.kra at googlemail.com> wrote:
> Author: d0k
> Date: Mon Sep 17 11:46:22 2012
> New Revision: 164036
>
> URL: http://llvm.org/viewvc/llvm-project?rev=164036&view=rev
> Log:
> LLVM_ATTRIBUTE_USED forces emission of a function. To silence unused function warnings use LLVM_ATTRIBUTE_UNUSED.
>
> Modified:
> llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp
>
> - friend bool LLVM_ATTRIBUTE_USED operator<(unsigned V,
> - const TableEntry &TE) {
> + friend bool LLVM_ATTRIBUTE_UNUSED operator<(unsigned V,
> + const TableEntry &TE) {
The operator is there to placate some old version of MSVC which doesn't properly support asymmetric lower_bound.
Look out for problems when building with that compiler.
/jakob
More information about the llvm-commits
mailing list