[llvm-dev] Enable new inline cost heuristic for switch (original) (raw)
via llvm-dev llvm-dev at lists.llvm.org
Fri Apr 28 12:35:20 PDT 2017
- Previous message: [llvm-dev] [MemorySSA] A question about how to update the MemorySSA when we call RecursivelyDeleteTriviallyDeadInstructions
- Next message: [llvm-dev] LLVMGetFirstFunction() / LLVMGetNextFunction( ) problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I'm trying to turn on a flag (-inline-generic-switch-cost) introduced in r301649 which improved the inline cost heuristic for switch. In my experiment for LLVM test suite and spec2000/2006 in AArch64, +17.82% performance and -8% code size reduce was observed in spec2000/vertex with O3 LTO. No significant code size / performance regression was found in O3/O2/Os.
Before we turn this flag on by default, I want this change to be tested on other targets as well as for other applications. Can anyone please take a change to test this and share the result in D32653.
Thanks, Jun
-- 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.
- Previous message: [llvm-dev] [MemorySSA] A question about how to update the MemorySSA when we call RecursivelyDeleteTriviallyDeadInstructions
- Next message: [llvm-dev] LLVMGetFirstFunction() / LLVMGetNextFunction( ) problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]