diff options
author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2022-03-15 11:10:32 -0700 |
---|---|---|
committer | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2022-03-17 10:16:23 -0700 |
commit | 84c6689b1511cc7bcad8f9f166bdc9808b8cdac8 (patch) | |
tree | 38782c41133dfd0ec6bd94f35fd38cd7517b320b /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 54b145d5cac2b008380828e8f67c439038ea370b (diff) | |
download | llvm-84c6689b1511cc7bcad8f9f166bdc9808b8cdac8.zip llvm-84c6689b1511cc7bcad8f9f166bdc9808b8cdac8.tar.gz llvm-84c6689b1511cc7bcad8f9f166bdc9808b8cdac8.tar.bz2 |
[AlwaysInliner] Check inliner errors even without assserts
When we build clang without asserts we should still check the result of
`InlineFunction()` to be sure there wasn't an error. Otherwise we could
incorrectly merge attributes in the next line.
This also removes a redundent call to `getCaller()`.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D121722
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions