Rewrite objc intrinsics to runtime methods in PreISelIntrinsicLowering instead of...
authorPete Cooper <peter_cooper@apple.com>
Tue, 18 Dec 2018 22:20:03 +0000 (22:20 +0000)
committerPete Cooper <peter_cooper@apple.com>
Tue, 18 Dec 2018 22:20:03 +0000 (22:20 +0000)
commitf86db5ce9e90495e417eaf8c4f8847ee272a03ab
tree24def6662eb8d25eeb6e89edb412c5bc7716065d
parentef57943e3fbabc6976dd7a949362d643b6e087ef
Rewrite objc intrinsics to runtime methods in PreISelIntrinsicLowering instead of SDAG.

SelectionDAG currently changes these intrinsics to function calls, but that won't work
for other ISel's.  Also we want to eventually support nonlazybind and weak linkage coming
from the front-end which we can't do in SelectionDAG.

llvm-svn: 349552
llvm/include/llvm/CodeGen/Passes.h
llvm/include/llvm/CodeGen/PreISelIntrinsicLowering.h
llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/X86/objc-arc.ll [deleted file]
llvm/test/Transforms/PreISelIntrinsicLowering/objc-arc.ll [new file with mode: 0644]