diff options
| author | Reid Kleckner <rnk@google.com> | 2017-10-06 18:21:19 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-10-06 18:21:19 +0000 |
| commit | 813c577cc26a4269ee5b20c4421cef9cb2172991 (patch) | |
| tree | 7e41870eaa081a148545be385f0f80691f6d78ea /llvm/tools/llvm-rc/ResourceScriptParser.cpp | |
| parent | 85255eda913ecdad769c10cf65fcb6e0dd6a8485 (diff) | |
| download | llvm-813c577cc26a4269ee5b20c4421cef9cb2172991.zip llvm-813c577cc26a4269ee5b20c4421cef9cb2172991.tar.gz llvm-813c577cc26a4269ee5b20c4421cef9cb2172991.tar.bz2 | |
[PEI] Remove required properties and use 'if' instead of std::function
Summary:
After r303360, we initialize UsesCalleeSaves in runOnMachineFunction,
which runs after getRequiredProperties. UsesCalleeSaves was initialized
to 'false', so getRequiredProperties would always return an empty set.
We don't have a TargetMachine available early anymore after r303360.
Just removing the requirement of NoVRegs seems to make things work, so
let's do that.
Reviewers: thegameg, dschuff, MatzeB
Subscribers: hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D38597
llvm-svn: 315089
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions
