[PATCH] D46326: ThinLTO+CFI: short-circuit direct calls to jump table entries
Dmitry Mikulin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 7 10:51:24 PDT 2018
dmikulin updated this revision to Diff 145500.
dmikulin added a comment.
Added a test case.
Skip direct calls in addition to blockaddr uses when dealing with CFI.
Don't set linkage to internal for .cfi symbols as they may be needed by direct calls.
https://reviews.llvm.org/D46326
Files:
llvm/include/llvm/IR/Value.h
llvm/lib/IR/Value.cpp
llvm/lib/Transforms/IPO/LowerTypeTests.cpp
llvm/test/Transforms/LowerTypeTests/Inputs/cfi-direct-call.yaml
llvm/test/Transforms/LowerTypeTests/blockaddress.ll
llvm/test/Transforms/LowerTypeTests/cfi-direct-call.ll
llvm/test/Transforms/LowerTypeTests/export-icall.ll
llvm/test/Transforms/LowerTypeTests/function-disjoint.ll
llvm/test/Transforms/LowerTypeTests/function.ll
llvm/test/Transforms/LowerTypeTests/import-icall.ll
llvm/test/Transforms/LowerTypeTests/section.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46326.145500.patch
Type: text/x-patch
Size: 9426 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180507/467dd32c/attachment-0001.bin>
More information about the llvm-commits
mailing list