From 64de8763aa7cabc5aee4312ae2f9a68d8fd10bfa Mon Sep 17 00:00:00 2001 From: David Spickett Date: Thu, 10 Jun 2021 10:11:17 +0000 Subject: Revert "Implementation of global.get/set for reftypes in LLVM IR" This reverts commit 31859f896cf90d64904134ce7b31230f374c3fcc. Causing SVE and RISCV-V test failures on bots. --- llvm/lib/CodeGen/MachineOperand.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/CodeGen/MachineOperand.cpp') diff --git a/llvm/lib/CodeGen/MachineOperand.cpp b/llvm/lib/CodeGen/MachineOperand.cpp index a0e8236f65fe..766915cd0871 100644 --- a/llvm/lib/CodeGen/MachineOperand.cpp +++ b/llvm/lib/CodeGen/MachineOperand.cpp @@ -1163,8 +1163,8 @@ void MachineMemOperand::print(raw_ostream &OS, ModuleSlotTracker &MST, << "unknown-address"; } MachineOperand::printOperandOffset(OS, getOffset()); - if (getSize() > 0 && getAlign() != getSize()) - OS << ", align " << getAlign().value(); + if (getAlign() != getSize()) + OS << ", align " << getAlign().value(); if (getAlign() != getBaseAlign()) OS << ", basealign " << getBaseAlign().value(); auto AAInfo = getAAInfo(); -- cgit v1.2.3