[LLVMdev] [RFC] AArch64: Should we disable GlobalMerge?

Ahmed Bougacha ahmed.bougacha at gmail.com
Fri Feb 27 18:59:03 PST 2015


On Fri, Feb 27, 2015 at 3:20 PM, Ahmed Bougacha
<ahmed.bougacha at gmail.com> wrote:
> We might not need this after all =)   With a module-level flag, we
> could only enable it under -O3 even for LTO, which is fine no matter
> the platform.

Done, in:
clang: http://reviews.llvm.org/D7968
LLVM: http://reviews.llvm.org/D7969

The clang patch also only enables the pass with -O3 on AArch64.  I
kept -O1 for ARM because I need to do some sanity checks, but the goal
is to have it enabled on both AArch64 and ARM only with -O3.

-Ahmed



More information about the llvm-dev mailing list