commit | f124911f7a6ec79c44e71a3dccac8733c8ded458 | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Mon Jan 04 04:49:41 2016 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Mon Jan 04 04:49:41 2016 +0000 |
tree | 50109b396fe557cd062aefba2dab6816bb3dcf6e | |
parent | 82e76d50b1e550cfda3c49ba031205b50f1b283e [diff] |
[X86] Make hasFP constant time We need a frame pointer if there is a push/pop sequence after the prologue in order to unwind the stack. Scanning the instructions to figure out if this happened made hasFP not constant-time which is a violation of expectations. Let's compute this up-front and reuse that computation when we need it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256730 91177308-0d34-0410-b5e6-96231b3b80d8