commit | 3993050daa60a8d5265c64800157c64585495fcc | [log] [tgz] |
---|---|---|
author | Reid Kleckner <rnk@google.com> | Mon Mar 20 17:45:59 2017 +0000 |
committer | Reid Kleckner <rnk@google.com> | Mon Mar 20 17:45:59 2017 +0000 |
tree | c605cd7e7de5afab47e200a28618abb9c99e816b | |
parent | 80122f82f9d083a141360962f993667195ebc104 [diff] |
[WinEH] Adjust decision to emit SEH moves for leaf functions Move the check for "MF->hasWinCFI()" up into the calculation of the shouldEmitMoves boolean, rather than putting it in the early returning if. This ensures that endFunction doesn't try to emit .seh_* directives for leaf functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298276 91177308-0d34-0410-b5e6-96231b3b80d8