[FaultMaps] Let the frontend pre-select implicit null check candidates.
authorSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 30 Jun 2015 21:22:32 +0000 (21:22 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 30 Jun 2015 21:22:32 +0000 (21:22 +0000)
commit9c41a93e24880289837cb387dc78dc643edc9ec6
treea03059fd480e461d157d000e66280c8431d09420
parent2b00f08620d99e49734a9cae8c14461912afbc47
[FaultMaps] Let the frontend pre-select implicit null check candidates.

Summary:
This change introduces a !make.implicit metadata that allows the
frontend to pre-select the set of explicit null checks that will be
considered for transformation into implicit null checks.

The reason for not using profiling data instead of !make.implicit is
explained in the change to `FaultMaps.rst`.

Reviewers: atrick, reames, pgavlin, JosephTremoulet

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D10824

llvm-svn: 241116
llvm/docs/FaultMaps.rst
llvm/lib/CodeGen/ImplicitNullChecks.cpp
llvm/test/CodeGen/X86/implicit-null-check-negative.ll
llvm/test/CodeGen/X86/implicit-null-check.ll