[llvm] r257477 - Register Data Flow: data flow graph
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 12 08:38:42 PST 2016
On Tue, Jan 12, 2016 at 7:09 AM, Krzysztof Parzyszek via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: kparzysz
> Date: Tue Jan 12 09:09:49 2016
> New Revision: 257477
>
> URL: http://llvm.org/viewvc/llvm-project?rev=257477&view=rev
> Log:
> Register Data Flow: data flow graph
>
> Target independent, SSA-based data flow framework for representing
> data flow between physical registers.
>
> This commit implements the creation of the actual data flow graph.
[...]
> +// Move the stack iterator up by one.
> +unsigned DataFlowGraph::DefStack::nextUp(unsigned P) const {
> + // Get the next valid position after P (skipping all delimiters).
> + // The input position P does not have to point to a non-delimiter.
> + unsigned SS = Stack.size();
> + bool IsDelim;
> + assert(P >= 0 && P < SS);
I get a warning about this:
../lib/Target/Hexagon/RDFGraph.cpp:792:15: warning: comparison of
unsigned expression >= 0 is always true [-Wtype-limits]
assert(P >= 0 && P < SS);
^
More information about the llvm-commits
mailing list