IR: Properly canonicalize PointerType in ConstantExpr GEPs
authorDavid Majnemer <david.majnemer@gmail.com>
Thu, 7 Nov 2013 22:29:42 +0000 (22:29 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Thu, 7 Nov 2013 22:29:42 +0000 (22:29 +0000)
commitf9c692cfeb9a73bad531f86d9f103e67d3d0e162
tree772d60011a4709ee0b7afe3dfecc5811d9d86ac5
parent0ab20588523b59a65a4a29d47184a41443fa9337
IR: Properly canonicalize PointerType in ConstantExpr GEPs

No additional test was needed, Other/constant-fold-gep.ll detects this
just fine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194221 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/ConstantFold.cpp