HomePhabricator

[Constant Hoisting] Hoisting Constant GEP Expressions

Description

[Constant Hoisting] Hoisting Constant GEP Expressions

Leverage existing logic in constant hoisting pass to transform constant GEP
expressions sharing the same base global variable. Multi-dimensional GEPs are
rewritten into single-dimensional GEPs.

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

Details

Committed
zzhengAug 31 2018, 5:04 PM
Differential Revision
D51396: [Constant Hoisting] Hoisting Constant GEP Expressions
Parents
rL341268: File completion bugfix
Branches
Unknown
Tags
Unknown