[IndVarSimplify] Simplify code using a dictionary
authorPhilip Reames <listmail@philipreames.com>
Tue, 31 Oct 2017 17:06:32 +0000 (17:06 +0000)
committerPhilip Reames <listmail@philipreames.com>
Tue, 31 Oct 2017 17:06:32 +0000 (17:06 +0000)
commitcd0a5bb96c10e5febef08c6e4618a99fdd3fbb99
tree6ace7af9d3a552439d5a97a66159c8e13aed5237
parent39970069b1087395b89e9d3bb66434c81bd49dd8
[IndVarSimplify] Simplify code using a dictionary

Possibly very slightly slower, but this code is not performance critical and the readability benefit alone is huge.

llvm-svn: 317012
llvm/lib/Transforms/Utils/SimplifyIndVar.cpp