HomePhabricator

[opaque pointer types] [NFC] Take advantage of get{Source,Result}ElementType…

Authored by eddyb on Jan 21 2016, 3:42 PM.

Description

[opaque pointer types] [NFC] Take advantage of get{Source,Result}ElementType when folding GEPs.

Summary:

Reviewers: mjacob, dblaikie

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D16302

llvm-svn: 258456