]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Improve the tree builder in IR optimisation. Allow load expressions to be
authorFlorian Krohm <florian@eich-krohm.de>
Sun, 20 Jan 2013 03:51:04 +0000 (03:51 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sun, 20 Jan 2013 03:51:04 +0000 (03:51 +0000)
commit0141a00fd33600ee957c8314ade8407f079eacf7
tree585cab01cf42dfc865eef4b0c0c4e175703bcbcb
parente67feb527cfb067f7df2ef2b29937133b8a74617
Improve the tree builder in IR optimisation. Allow load expressions to be
moved past Put/I statements and dirty helpers, when it is safe to do so.
It is safe, when the statement does not require exact memory exceptions.
New functions stmt_modifies_guest_state and dirty_helper_puts have been
added to determine the side effect on the guest state.
This optimisation enables the use of  memory-to-memory insns on
architectures that have those.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2645
VEX/priv/ir_opt.c
VEX/priv/ir_opt.h
VEX/priv/main_main.c