skip expensive ssa-building loop when possible
commita85fe6e2d955b0b34e0d17ca244a978489db4a00
authorQuentin Carbonneaux <quentin@c9x.me>
Fri, 1 Mar 2019 14:08:58 +0000 (1 15:08 +0100)
committerQuentin Carbonneaux <quentin@c9x.me>
Fri, 1 Mar 2019 14:08:58 +0000 (1 15:08 +0100)
tree0ef488411cf266995d7d0714ab65df83537eb19d
parent60804c92a81cc4cba494b3b48d11151559269d9b
skip expensive ssa-building loop when possible

If a temporary is assigned exactly
once (most are), there is no need
to do any work to put it in ssa
form.

On an input file of ~35k loc, this
makes the processing time go from
2.9 secs to 1.2 secs.
ssa.c