HomePhabricator

[GlobalISel] CSEMIRBuilder: Add support for G_GEP

Authored by volkan on Aug 15 2019, 4:45 PM.

Description

[GlobalISel] CSEMIRBuilder: Add support for G_GEP

Summary:
This patch adds G_GEP to shouldCSEOpc so that it can be CSEd. It also refactors
translateGetElementPtr by replacing createGenericVirtualRegister calls with types.

Reviewers: aditya_nandakumar, arsenm, dsanders, paquette, aemerson

Reviewed By: aditya_nandakumar

Subscribers: wdng, rovka, javed.absar, hiraditya, Petar.Avramovic, llvm-commits

Tags: #llvm

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

llvm-svn: 369070

Details

Committed
volkanAug 15 2019, 4:45 PM
Reviewer
aditya_nandakumar
Differential Revision
D66316: [GlobalISel] CSEMIRBuilder: Add support for G_GEP
Parents
rG9b9a3084521b: [ARM][LowOverheadLoops] Fix generated code for "revert".
Branches
Unknown
Tags
Unknown