aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-rc/ResourceScriptParser.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-10-06 18:21:19 +0000
committerReid Kleckner <rnk@google.com>2017-10-06 18:21:19 +0000
commit813c577cc26a4269ee5b20c4421cef9cb2172991 (patch)
tree7e41870eaa081a148545be385f0f80691f6d78ea /llvm/tools/llvm-rc/ResourceScriptParser.cpp
parent85255eda913ecdad769c10cf65fcb6e0dd6a8485 (diff)
downloadllvm-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