aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/util
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2017-01-24 11:45:32 +0100
committerErik Verbruggen <erik.verbruggen@qt.io>2017-01-25 09:19:07 +0000
commitb07a6cf8c5788b7e4ca722c9aa8c06e76e688c5d (patch)
tree84589fbcb66e60eaf52dd822914f4d6c0243b30d /src/quick/util
parent4d23faf34192cef372f846dcf02fd8cc398b14c0 (diff)
Allow more expressions as base/index in IR subscripts
Arguments and locals can be used directly as the base of a subscript, so they do not need to be assigned to a temporary first. For indices, arguments, locals, and constants, can be used just fine for subscripts. This reduces a whole lot of assignments to temporaries when generating the IR. Although they will be removed in an optimization pass, they do consume memory for no good reason, and make SSA transformation take more time. Change-Id: Ie2af65b66fecee3e140228a9532c9fab08474f5b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/quick/util')
0 files changed, 0 insertions, 0 deletions