[CodeGen] Add a pass to fold null checks into nearby memory operations.

Description

[CodeGen] Add a pass to fold null checks into nearby memory operations.

Summary:
This change adds an "ImplicitNullChecks" target dependent pass. This
pass folds null checks into memory operation using the FAULTING_LOAD
pseudo-op introduced in previous patches.

Depends on D10197
Depends on D10199
Depends on D10200

Reviewers: reames, rnk, pgavlin, JosephTremoulet, atrick

Reviewed By: atrick

Subscribers: ab, JosephTremoulet, llvm-commits

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

Details

Committed
sanjoyJun 15 2015, 11:44 AM
Reviewer
atrick
Differential Revision
D10201: [CodeGen] Add a pass to fold null checks into nearby memory operations.
Parents
rL239742: [TargetInstrInfo] Add new hook: AnalyzeBranchPredicate.
Branches
Unknown
Tags
Unknown