[PATCH] D36772: Unmerge GEPs to reduce register pressure on IndirectBr edges.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 11:06:21 PDT 2017


yamauchi added a comment.

In https://reviews.llvm.org/D36772#852865, @eastig wrote:

> As this patch can affect ARM targets I am doing some benchmarking.
>  I've got the LNT benchmarks results for AArch64 (Cortex-A57). There is no difference in performance. I'll have got more results soon.
>  It's interesting to see what benchmarks has been used to measure the improvements.


Good to know.

The improvements I saw were measured with python programs (like the following) running on the python 2.7 runtime compiled with LLVM at r309573 on x86-64 Haswell.

  for _ in xrange(1, 100000000):
    continue

This patch reduces register spills in the computed goto-based interpreter loop.


https://reviews.llvm.org/D36772





More information about the llvm-commits mailing list