[ConstraintElimination] Skip pointer casts.
authorFlorian Hahn <flo@fhahn.com>
Tue, 2 Feb 2021 17:01:40 +0000 (17:01 +0000)
committerFlorian Hahn <flo@fhahn.com>
Tue, 2 Feb 2021 21:25:29 +0000 (21:25 +0000)
commitd8e90716dfd186943359c7ade83cc2d1d247f140
treeadced2b8d785949d354d6bb5577a4af95d5fd114
parent83d705adb2e043e576c9cbaf9709795bc69fe5cf
[ConstraintElimination] Skip pointer casts.

We should be able to look through pointer casts that do not impact the
value.
llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
llvm/test/Transforms/ConstraintElimination/pointercast.ll