From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2454 invoked by alias); 19 Jun 2008 02:14:30 -0000 Received: (qmail 2424 invoked by uid 9586); 19 Jun 2008 02:14:29 -0000 Date: Thu, 19 Jun 2008 02:14:00 -0000 Message-ID: <20080619021429.2413.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. rhel52-ga-418-g1773fd0 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 7bbd87f91f4cc45394be5f7f0ca1bfea99bad066 X-Git-Newrev: 1773fd0385b253ae255aa686e4f8de4764b016f4 Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: X-SW-Source: 2008-q2/txt/msg00129.txt.bz2 This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "systemtap: system-wide probe/trace tool". The branch, master has been updated via 1773fd0385b253ae255aa686e4f8de4764b016f4 (commit) via 08af22351ef4f428d934d9be00a5aae33acfaf73 (commit) via 3f33ee3ac885ac639f932ab5cfec03d6f5f125d0 (commit) via bea72737344238d12c4b4bcd197d7e6606780e45 (commit) from 7bbd87f91f4cc45394be5f7f0ca1bfea99bad066 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1773fd0385b253ae255aa686e4f8de4764b016f4 Author: Josh Stone Date: Wed Jun 18 19:14:15 2008 -0700 Add Intel to copyright header on elaborate.cxx commit 08af22351ef4f428d934d9be00a5aae33acfaf73 Author: Josh Stone Date: Wed Jun 18 19:10:12 2008 -0700 Add tests for new statement optimizations. * systemtap.base/optim_voidstmt.stp: Add tests for various statement optimizations that we should now be eliding. commit 3f33ee3ac885ac639f932ab5cfec03d6f5f125d0 Author: Josh Stone Date: Wed Jun 18 18:12:38 2008 -0700 Hack optim_arridx to avoid more optimization than intended commit bea72737344238d12c4b4bcd197d7e6606780e45 Author: Josh Stone Date: Wed Jun 18 17:07:15 2008 -0700 New optimization to break up statements in void contexts. PR 6644 * elaborate.cxx (dead_stmtexpr_remover::visit_block): Flatten nested block statements into a single block. (dead_stmtexpr_remover::visit_if_statement): Remove the possibility of if_statements with a null thenblock. When an if lacks both then and else, either remove it completely or reduce it to a simple statment evaluating the condition. With an else and no then, invert the condition and else becomes then. (void_statement_reducer): New optimization visitor that breaks statements in void context into smaller pieces, to expose more optimization opportunities. (semantic_pass_opt5, semantic_pass_opt6): Bump opt5 to opt6, and create a new opt5 that runs through void_statement_reducer. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 16 + elaborate.cxx | 439 +++++++++++++++++++++++++-- testsuite/ChangeLog | 5 + testsuite/systemtap.base/optim_arridx.exp | 2 +- testsuite/systemtap.base/optim_arridx.stp | 2 +- testsuite/systemtap.base/optim_voidstmt.exp | 5 + testsuite/systemtap.base/optim_voidstmt.stp | 95 ++++++ 7 files changed, 543 insertions(+), 21 deletions(-) create mode 100644 testsuite/systemtap.base/optim_voidstmt.exp create mode 100644 testsuite/systemtap.base/optim_voidstmt.stp hooks/post-receive -- systemtap: system-wide probe/trace tool