aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-04-11 16:03:07 +0000
committerPirama Arumuga Nainar <pirama@google.com>2018-04-25 15:30:06 -0700
commitde88e07899fcf93b9e98c63bf91ae35ff0f55c07 (patch)
tree1f2378347f98eab941ff7860c9dc59a036f439fc /examples
parentb44908ecf1fad9fdb10c1805a3083537ea87d955 (diff)
downloadllvm-de88e07899fcf93b9e98c63bf91ae35ff0f55c07.tar.gz
[FastISel] Disable local value sinking by default
This is causing compilation timeouts on code with long sequences of local values and calls (i.e. foo(1); foo(2); foo(3); ...). It turns out that code coverage instrumentation is a great way to create sequences like this, which how our users ran into the issue in practice. Intel has a tool that detects these kinds of non-linear compile time issues, and Andy Kaylor reported it as PR37010. The current sinking code scans the whole basic block once per local value sink, which happens before emitting each call. In theory, local values should only be introduced to be used by instructions between the current flush point and the last flush point, so we should only need to scan those instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329822 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions