diff options
author | Craig Topper <craig.topper@intel.com> | 2020-05-12 09:43:24 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2020-05-12 10:06:40 -0700 |
commit | 8c72b0271b841c75e2f005b796fbdbbbbd143ad4 (patch) | |
tree | 1ccd01d0bedf8cdabbed6d433db999fe315f33d7 /llvm/lib/CodeGen/MIRPrinter.cpp | |
parent | 93bd696347aa6348af8d2b042910d5e9226cfbd8 (diff) | |
download | llvm-8c72b0271b841c75e2f005b796fbdbbbbd143ad4.zip llvm-8c72b0271b841c75e2f005b796fbdbbbbd143ad4.tar.gz llvm-8c72b0271b841c75e2f005b796fbdbbbbd143ad4.tar.bz2 |
[CodeGen] Use Align in MachineConstantPool.
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MIRPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MIRPrinter.cpp b/llvm/lib/CodeGen/MIRPrinter.cpp index 5e01af2..36cd39f2 100644 --- a/llvm/lib/CodeGen/MIRPrinter.cpp +++ b/llvm/lib/CodeGen/MIRPrinter.cpp @@ -517,7 +517,7 @@ void MIRPrinter::convert(yaml::MachineFunction &MF, yaml::MachineConstantPoolValue YamlConstant; YamlConstant.ID = ID++; YamlConstant.Value = StrOS.str(); - YamlConstant.Alignment = MaybeAlign(Constant.getAlignment()); + YamlConstant.Alignment = Constant.getAlign(); YamlConstant.IsTargetSpecific = Constant.isMachineConstantPoolEntry(); MF.Constants.push_back(YamlConstant); |