summaryrefslogtreecommitdiff
path: root/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2017-07-27 16:54:13 +0000
committerAdam Nemet <anemet@apple.com>2017-07-27 16:54:13 +0000
commit426d57c13462eced1cfe907e73d8f0ca17837805 (patch)
treea6ae046f9daf1c9634a49f623fd24a99b66120df /lib/CodeGen/PrologEpilogInserter.cpp
parent5a69de7528dcc5ad93b73e7ff62ba196d4e415be (diff)
downloadllvm-426d57c13462eced1cfe907e73d8f0ca17837805.tar.gz
[OptRemark] Allow streaming of 64-bit integers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309293 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r--lib/CodeGen/PrologEpilogInserter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PrologEpilogInserter.cpp b/lib/CodeGen/PrologEpilogInserter.cpp
index b9a1010e46f9..63c839fcb0bf 100644
--- a/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/lib/CodeGen/PrologEpilogInserter.cpp
@@ -963,7 +963,7 @@ void PEI::calculateFrameObjectOffsets(MachineFunction &Fn) {
MachineOptimizationRemarkAnalysis R(
DEBUG_TYPE, "StackSize", Fn.getFunction()->getSubprogram(), &Fn.front());
- R << ore::NV("NumStackBytes", static_cast<unsigned>(StackSize))
+ R << ore::NV("NumStackBytes", StackSize)
<< " stack bytes in function";
ORE->emit(R);
}