[ConstraintElimination] Decompose GEP %ptr, SHL().
authorFlorian Hahn <flo@fhahn.com>
Mon, 30 Nov 2020 15:26:51 +0000 (15:26 +0000)
committerFlorian Hahn <flo@fhahn.com>
Tue, 1 Dec 2020 10:58:36 +0000 (10:58 +0000)
commitefa9728a50012c9ead2b0110620e8865b36bef73
tree69ca0c5899abefb8774071ddad0bfdd70efd4d61
parentc3fe6ea22e963d7fa3579ecfeff5591449abf583
[ConstraintElimination] Decompose GEP %ptr, SHL().

Add support the decompose a GEP with an SHL operand.
llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
llvm/test/Transforms/ConstraintElimination/geps.ll