]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
When simplifying (improving) the IR generated by the ARM front end, do
authorJulian Seward <jseward@acm.org>
Sun, 1 May 2011 18:36:51 +0000 (18:36 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 1 May 2011 18:36:51 +0000 (18:36 +0000)
CSE by default.  This significantly improves performance for ARM (not
Thumb) code that leans heavily on predicated instructions by commoning
up duplicate condition code evaluations within a single IRSB.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2137

VEX/priv/ir_opt.c

index 504105b1f45a78b9a446e9d1ffebdf535d499218..5cf91dc456303a91a733980291c7899342b00396 100644 (file)
@@ -4714,6 +4714,7 @@ IRSB* do_iropt_BB(
       bb = cprop_BB(bb);
       bb = spec_helpers_BB ( bb, specHelper );
       redundant_put_removal_BB ( bb, preciseMemExnsFn );
+      do_cse_BB( bb );
       do_deadcode_BB( bb );
    }