commit | 625d08eea1f462de66130d0a09cf51d66f27e942 | [log] [tgz] |
---|---|---|
author | Sanjin Sijaric <ssijaric@codeaurora.org> | Wed Oct 24 21:07:38 2018 +0000 |
committer | Sanjin Sijaric <ssijaric@codeaurora.org> | Wed Oct 24 21:07:38 2018 +0000 |
tree | 178cef112c1fe396c036b480c3c3cf644eb78364 | |
parent | a0d18b63141a5231d9f1d2ddd5b46bcd1d0a85d1 [diff] [blame] |
[MIR] Add hasWinCFI field Adding hasWinCFI field so that I can add MIR test cases to https://reviews.llvm.org/D50166. Differential Revision: https://reviews.llvm.org/D51201 llvm-svn: 345196
diff --git a/llvm/lib/CodeGen/MIRParser/MIRParser.cpp b/llvm/lib/CodeGen/MIRParser/MIRParser.cpp index 0102f12..00da92a 100644 --- a/llvm/lib/CodeGen/MIRParser/MIRParser.cpp +++ b/llvm/lib/CodeGen/MIRParser/MIRParser.cpp
@@ -355,6 +355,7 @@ if (YamlMF.Alignment) MF.setAlignment(YamlMF.Alignment); MF.setExposesReturnsTwice(YamlMF.ExposesReturnsTwice); + MF.setHasWinCFI(YamlMF.HasWinCFI); if (YamlMF.Legalized) MF.getProperties().set(MachineFunctionProperties::Property::Legalized);