[PATCH] D45331: [StackProtector] Ignore certain intrinsics when calculating sspstrong heuristic.

Tim Shen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 5 19:50:31 PDT 2018


timshen added a comment.

> In the future we should rely on TargetTransformInfo::isLoweredToCall, but as of

now that routine considers all intrinsics as not being lowerable.

Can we just add lifetime intrinsics support into TTI::isLoweredToCall() ? Will it break other things? If it's doable, then the stackprotector just needs to call isLoweredToCall().


https://reviews.llvm.org/D45331





More information about the llvm-commits mailing list