glsl/loops: Get rid of loop_variable_state::max_iterations.
This value is now redundant with loop_variable_state::limiting_terminator->iterations and ir_loop::normative_bound. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -118,15 +118,6 @@ public:
|
||||
*/
|
||||
hash_table *var_hash;
|
||||
|
||||
/**
|
||||
* Maximum number of loop iterations.
|
||||
*
|
||||
* If this value is negative, then the loop may be infinite. This actually
|
||||
* means that analysis was unable to determine an upper bound on the number
|
||||
* of loop iterations.
|
||||
*/
|
||||
int max_iterations;
|
||||
|
||||
/**
|
||||
* Number of ir_loop_jump instructions that operate on this loop
|
||||
*/
|
||||
@@ -139,7 +130,6 @@ public:
|
||||
|
||||
loop_variable_state()
|
||||
{
|
||||
this->max_iterations = -1;
|
||||
this->num_loop_jumps = 0;
|
||||
this->contains_calls = false;
|
||||
this->var_hash = hash_table_ctor(0, hash_table_pointer_hash,
|
||||
|
Reference in New Issue
Block a user