aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorJeroen Dobbelaere <jeroen.dobbelaere@synopsys.com>2021-07-13 10:16:41 +0200
committerJeroen Dobbelaere <jeroen.dobbelaere@synopsys.com>2021-07-13 10:18:23 +0200
commit1d8030053d46b89e3677986d059065c6a2e7a2e1 (patch)
treea9aba3eaed68a49c4b23aabc2ef1bba19ec90e83 /llvm/lib/IR/Function.cpp
parentd89d3dfae17d7795dc1ef013db66272020de1959 (diff)
downloadllvm-1d8030053d46b89e3677986d059065c6a2e7a2e1.zip
llvm-1d8030053d46b89e3677986d059065c6a2e7a2e1.tar.gz
llvm-1d8030053d46b89e3677986d059065c6a2e7a2e1.tar.bz2
[NFC] Do not track calls to inlined intrinsics in IFI.
Just like intrinsics are not tracked for IFI.InlinedCalls, they should not be tracked for IFI.InlinedCallSites. In the current top-of-tree this change is a NFC, but the full restrict patches (D68484) potentially trigger an read-after-free if intrinsics are also added to the InlindeCallSites, due to a late optimization potentially removing some of the inlined intrinsics. Also see https://lists.llvm.org/pipermail/llvm-dev/2021-July/151722.html for a discussion about the problem. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D105805
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions