diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2020-04-06 07:55:25 +0000 |
---|---|---|
committer | Guillaume Chatelet <gchatelet@google.com> | 2020-04-06 07:55:25 +0000 |
commit | 6000478f394a774db581570e7873d8d2333507d1 (patch) | |
tree | 9f08fab54bdadc4a2ef064f6a8f8ba7e6909065a /llvm/lib/CodeGen/MachineFrameInfo.cpp | |
parent | acb0b99c8e4f1dc65a7f1e26da9db77239a67da7 (diff) | |
download | llvm-6000478f394a774db581570e7873d8d2333507d1.zip llvm-6000478f394a774db581570e7873d8d2333507d1.tar.gz llvm-6000478f394a774db581570e7873d8d2333507d1.tar.bz2 |
Revert "[Alignment][NFC] Add DebugStr and operator*"
This reverts commit 1e34ab98fc6f5ea7e264c0cd19d96b87cbd9c8a5.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFrameInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFrameInfo.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineFrameInfo.cpp b/llvm/lib/CodeGen/MachineFrameInfo.cpp index 7ba27ff..7690505 100644 --- a/llvm/lib/CodeGen/MachineFrameInfo.cpp +++ b/llvm/lib/CodeGen/MachineFrameInfo.cpp @@ -41,9 +41,8 @@ static inline Align clampStackAlignment(bool ShouldClamp, Align Alignment, Align StackAlignment) { if (!ShouldClamp || Alignment <= StackAlignment) return Alignment; - LLVM_DEBUG(dbgs() << "Warning: requested alignment " << DebugStr(Alignment) - << " exceeds the stack alignment " - << DebugStr(StackAlignment) + LLVM_DEBUG(dbgs() << "Warning: requested alignment " << Alignment.value() + << " exceeds the stack alignment " << StackAlignment.value() << " when stack realignment is off" << '\n'); return StackAlignment; } |