[all-commits] [llvm/llvm-project] a9a378: [ObjC] Override TailCallKind when lowering objc in...
Visoiu Mistrih Francis via All-commits
all-commits at lists.llvm.org
Mon Nov 11 08:32:46 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a9a3781df81a8a630e5d233efbc8b15b24ddd1dd
https://github.com/llvm/llvm-project/commit/a9a3781df81a8a630e5d233efbc8b15b24ddd1dd
Author: Francis Visoiu Mistrih <francisvm at yahoo.com>
Date: 2019-11-11 (Mon, 11 Nov 2019)
Changed paths:
M llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
M llvm/test/Transforms/PreISelIntrinsicLowering/objc-arc.ll
Log Message:
-----------
[ObjC] Override TailCallKind when lowering objc intrinsics
The tail-call-kind-ness is known by the ObjCARC analysis and can be
enforced while lowering the intrinsics to calls.
This allows us to get the requested tail calls at -O0 without trying to
preserve the attributes throughout passes that change code even at -O0
,like the Always Inliner, where the ObjCOpt pass doesn't run.
Differential Revision: https://reviews.llvm.org/D69980
More information about the All-commits
mailing list