[llvm-commits] [llvm] r165784 - /llvm/trunk/lib/Analysis/DependenceAnalysis.cpp

Eli Friedman eli.friedman at gmail.com
Thu Oct 11 19:17:20 PDT 2012


On Thu, Oct 11, 2012 at 7:04 PM, Sebastian Pop <spop at codeaurora.org> wrote:
> Author: spop
> Date: Thu Oct 11 21:04:32 2012
> New Revision: 165784
>
> URL: http://llvm.org/viewvc/llvm-project?rev=165784&view=rev
> Log:
> fix warning
>
> DependenceAnalysis.cpp:1164:32: warning: implicit truncation from 'int' to bitfield changes value from -5 to 3
>       [-Wconstant-conversion]
>     Result.DV[Level].Direction &= ~Dependence::DVEntry::GT;
>                                ^  ~~~~~~~~~~~~~~~~~~~~~~~~

I'm pretty sure that warning doesn't fire in recent versions of clang
for this case; it's a false positive.

-Eli



More information about the llvm-commits mailing list