[ScopBuilder] Exclude ignored intrinsics from explicit instruction list.
commitba14f1579b1b71db097c69d03791514c420672eb
authorMichael Kruse <llvm@meinersbur.de>
Thu, 1 Jun 2017 21:46:27 +0000 (1 21:46 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Thu, 1 Jun 2017 21:46:27 +0000 (1 21:46 +0000)
treea9d73f1e679b17ca48fed90cb54ed78631c99b3a
parentca3c180793fba3364994d4769ef8d767532e6c9f
[ScopBuilder] Exclude ignored intrinsics from explicit instruction list.

Ignored intrinsics are ignored at code generation, therefore do not
need to be part of the instruction list.

Specifically, llvm.lifetime.* intrinisics are removed before code
generation, referencing them would cause a use-after-free error.

Contributed-by: Nandini Singhal <cs15mtech01004@iith.ac.in>
Differential Revision: https://reviews.llvm.org/D33768

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@304483 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScopBuilder.cpp
test/ScopInfo/intrinsics.ll [new file with mode: 0644]