HomePhabricator

[clang][NewPM] Fix broken -O0 test from missing assumptions

Description

[clang][NewPM] Fix broken -O0 test from missing assumptions

Add an AssumptionCache callback to the InlineFuntionInfo used for the
AlwaysInlinerPass to match codegen of the AlwaysInlinerLegacyPass to generate
llvm.assume. This fixes CodeGen/builtin-movdir.c when new PM is enabled by
default.

Differential Revision: https://reviews.llvm.org/D63170

Details

Committed
leonardchanJun 13 2019, 11:18 AM
Differential Revision
D63170: [clang][NewPM] Fix broken -O0 test from missing assumptions
Parents
rL363286: [InstCombine] auto-generate complete test checks; NFC
Branches
Unknown
Tags
Unknown