[Attributor] Move pass after InstCombine to futher eliminate null pointer checks
authorDávid Bolvanský <david.bolvansky@gmail.com>
Tue, 26 Nov 2019 19:50:56 +0000 (20:50 +0100)
committerDávid Bolvanský <david.bolvansky@gmail.com>
Wed, 27 Nov 2019 21:36:51 +0000 (22:36 +0100)
commit7ca7d62c6ea1680ec0a1861083669596547fdd6f
treecc8bc32dc5d6047288317f84e064e034c318c08e
parentcfcfd8a056eb7c01bc76b745ce9f7839f0dcbc42
[Attributor] Move pass after InstCombine to futher eliminate null pointer checks

Summary: PR44149

Reviewers: jdoerfert

Subscribers: mehdi_amini, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70737
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
llvm/test/Transforms/PhaseOrdering/null-check-elim.ll [new file with mode: 0644]