HomePhabricator

[Constant Hoisting] Hoisting Constant GEP Expressions

Authored by Zhaoshi Zheng <zhaoshiz@coduaurora.org> on Aug 31 2018, 5:04 PM.

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

llvm-svn: 341269

Details

Committed
Zhaoshi Zheng <zhaoshiz@coduaurora.org>Aug 31 2018, 5:04 PM
Differential Revision
D51396: [Constant Hoisting] Hoisting Constant GEP Expressions
Parents
rG78a10a7a9bb2: File completion bugfix
Branches
Unknown
Tags
Unknown

Event Timeline

Zhaoshi Zheng <zhaoshiz@coduaurora.org> committed rGf5297fb24bf0: [Constant Hoisting] Hoisting Constant GEP Expressions (authored by Zhaoshi Zheng <zhaoshiz@coduaurora.org>).Aug 31 2018, 5:04 PM