diff options
author | Tapani Pälli <[email protected]> | 2019-06-13 12:58:04 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2019-06-14 08:21:42 +0300 |
commit | 287b58f827052d1d9cf101871e40ee24f6e7eef2 (patch) | |
tree | f696683a37fa9d9ca6cbefeb36c691f9fff1a166 /src/freedreno | |
parent | 749c544b84123627b9f7026bf9c02d10a7139465 (diff) |
ir3: initialize progress false before ir3_nir_lower_imul
Removes a compiler warning about uninitialized variable.
Fixes: c02ffd2700c "ir3: Use the new NIR lowering pass for integer multiplication"
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Reviewed-by: Eduardo Lima <[email protected]>
Diffstat (limited to 'src/freedreno')
-rw-r--r-- | src/freedreno/ir3/ir3_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/ir3/ir3_context.c b/src/freedreno/ir3/ir3_context.c index e572f33ef24..49a7776164e 100644 --- a/src/freedreno/ir3/ir3_context.c +++ b/src/freedreno/ir3/ir3_context.c @@ -90,7 +90,7 @@ ir3_context_init(struct ir3_compiler *compiler, * However, we want a final swing of a few passes to have a chance * at optimizing the result. */ - bool progress; + bool progress = false; NIR_PASS(progress, ctx->s, ir3_nir_lower_imul); if (progress) { NIR_PASS_V(ctx->s, nir_opt_algebraic); |