HomePhabricator

[ThinLTO] Always import constants

Authored by evgeny777 on Jan 15 2020, 8:29 AM.

Description

[ThinLTO] Always import constants

This patch imports constant variables even when they can't be internalized
(which results in promotion). This offers some extra constant folding
opportunities.

Differential revision: https://reviews.llvm.org/D70404

Details

Committed
evgeny777Jan 15 2020, 8:29 AM
Differential Revision
D70404: [ThinLTO] Always import constants
Parents
rG3f3017e162ec: [Loop Peeling] Add possibility to enable peeling on loop nests.
Branches
Unknown
Tags
Unknown