]> granicus.if.org Git - llvm/commit
[PEI] Add basic opt-remarks support
authorFrancis Visoiu Mistrih <fvisoiumistrih@apple.com>
Wed, 19 Jul 2017 23:47:32 +0000 (23:47 +0000)
committerFrancis Visoiu Mistrih <fvisoiumistrih@apple.com>
Wed, 19 Jul 2017 23:47:32 +0000 (23:47 +0000)
commit5418b3d4c9af42cfd853919dab61328fe720a8ef
tree0afb4eb9bf2584dee1cd66a46d165be335ef4b10
parentce30ab6e5598f3c24f59ad016dc9526bc9a1d450
[PEI] Add basic opt-remarks support

Add optimization remarks support to the PrologueEpilogueInserter. For
now, emit the stack size as an analysis remark, but more additions wrt
shrink-wrapping may be added.

https://reviews.llvm.org/D35645

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308556 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PrologEpilogInserter.cpp
test/CodeGen/AArch64/prologue-epilogue-remarks.mir [new file with mode: 0644]
test/CodeGen/X86/O0-pipeline.ll
test/CodeGen/X86/prologue-epilogue-remarks.mir [new file with mode: 0644]