]> granicus.if.org Git - llvm/commit
[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)
commit98506f3291d690d957b5e3d89ffc420a9ae48b35
tree73d6aa13da4de670b3eb482c5f638905a52ea1ce
parent95c7aaf45105203ab0b94d2cf5d4909659b5b79a
[IndVarSimplify] Simplify code using a dictionary

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317012 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyIndVar.cpp