[PATCH] D19821: [EarlyCSE] Optionally use MemorySSA. NFC.

Geoff Berry via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 22 15:00:11 PDT 2016


Sure, here is the .bc file for z44.c:



On 8/22/2016 5:39 PM, Daniel Berlin wrote:
> Can you send me bc files so i can profile?
> We haven't really begun to speed anything up yet :)
>
> We also could, if it really mattered, turn off use optimization, which 
> is usually the slow part of building.
>
> It would require updating defining accesses in the walker (otherwise, 
> it will slow down every query that asks about a given load. Caching is 
> a non-starter since you are basically caching something the size of 
> memoryssa ;)).
>
>
> On Mon, Aug 22, 2016 at 2:27 PM, Geoff Berry <gberry at codeaurora.org 
> <mailto:gberry at codeaurora.org>> wrote:
>
>     gberry added a comment.
>
>     I've collected some compile time stats when enabling MemorySSA
>     EarlyCSE just for the EarlyCSE pass added at the beginning of
>     addFunctionSimplificationPasses at O2 and higher.
>     There were 8 benchmarks in the llvm test-suite whose compile time
>     increased by more than 1%.  The biggest increase was in
>     consumer-typeset.  Drilling down a bit, the MemorySSA construction
>     time for compiling the z44.c input to this benchmark is reported
>     as 2% of runtime.
>
>
>     https://reviews.llvm.org/D19821 <https://reviews.llvm.org/D19821>
>
>
>
>

-- 
Geoff Berry
Employee of Qualcomm Datacenter Technologies, Inc.
  Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.  Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160822/7fd85e81/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: z44.bc
Type: application/octet-stream
Size: 66168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160822/7fd85e81/attachment.obj>


More information about the llvm-commits mailing list