diff options
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2017-02-06 19:41:44 +0000 |
---|---|---|
committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2017-02-06 19:41:44 +0000 |
commit | 1b4eed4c1e11ea5f51b00ad18cbc45c4169ba8a4 (patch) | |
tree | 775640cfdb02819b7e9d71a354954619a670aebb /llvm/test/tools | |
parent | 3746deb9d8b31c766fe06295ef2c4c33849bdb48 (diff) | |
download | bcm5719-llvm-1b4eed4c1e11ea5f51b00ad18cbc45c4169ba8a4.tar.gz bcm5719-llvm-1b4eed4c1e11ea5f51b00ad18cbc45c4169ba8a4.zip |
[TableGen] Use less stack in DAGISelMatcherOpt
Refactor a helper function, FactorNodes, to search for a push node in constant space. This resolves a problem in a not-yet-upstreamed backend where a recursive pattern blew the call stack (at a depth of 255) under a debug build of tablegen. No functional change so no new test coverage. The change is minimal to avoid disturbing existing behaviour.
Differential Revision: https://reviews.llvm.org/D29080
llvm-svn: 294230
Diffstat (limited to 'llvm/test/tools')
0 files changed, 0 insertions, 0 deletions