aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MIRParser/MIRParser.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2017-05-30 21:28:57 +0000
committerTim Northover <tnorthover@apple.com>2017-05-30 21:28:57 +0000
commitfb26d9a2865e41320d0a891d35ed7d23e679815d (patch)
tree4366c94beb1f63f28d5af2051de74871565df814 /llvm/lib/CodeGen/MIRParser/MIRParser.cpp
parent74480adafd0a2fc475bbed73372ce0da2a4ae3c1 (diff)
downloadllvm-fb26d9a2865e41320d0a891d35ed7d23e679815d.zip
llvm-fb26d9a2865e41320d0a891d35ed7d23e679815d.tar.gz
llvm-fb26d9a2865e41320d0a891d35ed7d23e679815d.tar.bz2
MIR: remove explicit "noVRegs" property.
We can infer this from the incoming MIR, so there's no reason to represent it with a special flag. llvm-svn: 304246
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MIRParser.cpp')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MIRParser.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIRParser.cpp b/llvm/lib/CodeGen/MIRParser/MIRParser.cpp
index bd04acd..ff12297 100644
--- a/llvm/lib/CodeGen/MIRParser/MIRParser.cpp
+++ b/llvm/lib/CodeGen/MIRParser/MIRParser.cpp
@@ -332,8 +332,6 @@ bool MIRParserImpl::initializeMachineFunction(MachineFunction &MF) {
MF.setAlignment(YamlMF.Alignment);
MF.setExposesReturnsTwice(YamlMF.ExposesReturnsTwice);
- if (YamlMF.NoVRegs)
- MF.getProperties().set(MachineFunctionProperties::Property::NoVRegs);
if (YamlMF.Legalized)
MF.getProperties().set(MachineFunctionProperties::Property::Legalized);
if (YamlMF.RegBankSelected)