Ignore "no-frame-pointer-elim" and "no-frame-pointer-elim-non-leaf" in favor of ...
authorFangrui Song <maskray@google.com>
Wed, 25 Dec 2019 02:12:15 +0000 (18:12 -0800)
committerFangrui Song <maskray@google.com>
Mon, 30 Dec 2019 17:46:19 +0000 (09:46 -0800)
commit03b9f0a5e19aa68fb0a82d80e409333db7ee511c
treea7d756aaa2880d635c1ec9b95efc7105fe217095
parentee3eebba0d30f9a231bb10e59f3778c72065db22
Ignore "no-frame-pointer-elim" and "no-frame-pointer-elim-non-leaf" in favor of "frame-pointer"

D56351 (included in LLVM 8.0.0) introduced "frame-pointer".  All tests
which use "no-frame-pointer-elim" or "no-frame-pointer-elim-non-leaf"
have been migrated to use "frame-pointer".

Implement UpgradeFramePointerAttributes to upgrade the two obsoleted
function attributes for bitcode. Their semantics are ignored.

Differential Revision: https://reviews.llvm.org/D71863
llvm/docs/ReleaseNotes.rst
llvm/include/llvm/IR/AutoUpgrade.h
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/CodeGen/TargetOptionsImpl.cpp
llvm/lib/IR/AutoUpgrade.cpp
llvm/test/Bitcode/upgrade-frame-pointer.ll [new file with mode: 0644]