Return-Path: X-Original-To: apmail-impala-dev-archive@minotaur.apache.org Delivered-To: apmail-impala-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F9FD182F9 for ; Mon, 7 Mar 2016 18:39:01 +0000 (UTC) Received: (qmail 38104 invoked by uid 500); 7 Mar 2016 18:39:01 -0000 Delivered-To: apmail-impala-dev-archive@impala.apache.org Received: (qmail 38064 invoked by uid 500); 7 Mar 2016 18:39:01 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 38053 invoked by uid 99); 7 Mar 2016 18:39:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2016 18:39:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 4C34CC698E for ; Mon, 7 Mar 2016 18:39:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id FQN-TkmPfDsu for ; Mon, 7 Mar 2016 18:38:58 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 0110B5F2ED for ; Mon, 7 Mar 2016 18:38:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id u27IcuNm014113; Mon, 7 Mar 2016 18:38:56 GMT Message-Id: <201603071838.u27IcuNm014113@ip-10-146-233-104.ec2.internal> Date: Mon, 7 Mar 2016 18:38:55 +0000 From: "Tim Armstrong (Code Review)" To: Alex Behm , impala-cr@cloudera.com, dev@impala.incubator.apache.org CC: Marcel Kornacker , Dan Hecht Reply-To: tarmstrong@cloudera.com X-Gerrit-MessageType: newpatchset Subject: =?UTF-8?Q?[Impala-CR](cdh5-trunk)_Reduce_size_of_cross-compiled_IR=0A?= X-Gerrit-Change-Id: Iea04ad2e4b365564ee71082657262485d3a85446 X-Gerrit-ChangeURL: X-Gerrit-Commit: 5da643ab327f1c75cf775a6f870f38be3a3ed007 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.10-rc0 Hello Alex Behm, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/2464 to look at the new patch set (#2). Change subject: Reduce size of cross-compiled IR ...................................................................... Reduce size of cross-compiled IR Disable the instnamer pass to reduce bitcode file size. Enable inlining with a low threshold to inline many trivial functions in the cross-compiled IR (e.g. scoped_ptr accessor functions). Add additional IR_ALWAYS_INLINE annotations to trivial functions that are called on hot paths. This means that the functions will be inlined at compile time and codegen has to do less work at runtime. The IR module size is reduced from ~1.9MB to ~1.4MB with this change and codegen time is slightly reduced. The number of functions is reduced from 5698 to 3883. Change-Id: Iea04ad2e4b365564ee71082657262485d3a85446 --- M be/CMakeLists.txt M be/src/codegen/CMakeLists.txt M be/src/common/compiler-util.h M be/src/common/status.h M be/src/exec/hash-table.h M be/src/exec/partitioned-hash-join-node.h M be/src/runtime/row-batch.h M be/src/runtime/tuple-row.h 8 files changed, 59 insertions(+), 41 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/64/2464/2 -- To view, visit http://gerrit.cloudera.org:8080/2464 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Iea04ad2e4b365564ee71082657262485d3a85446 Gerrit-PatchSet: 2 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: Tim Armstrong Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Marcel Kornacker Gerrit-Reviewer: Tim Armstrong