]> granicus.if.org Git - llvm/commit
[SimplifyIndVar] Inline makIVComparisonInvariant to eleminate code duplication [NFC]
authorPhilip Reames <listmail@philipreames.com>
Tue, 31 Oct 2017 22:56:16 +0000 (22:56 +0000)
committerPhilip Reames <listmail@philipreames.com>
Tue, 31 Oct 2017 22:56:16 +0000 (22:56 +0000)
commit90b71c2f3dd4e75690caba8697e956ad9723d746
treebf9cc6cc2a4285a41e92e813b04f1c50cf2ac898
parentfee1f226fdf9c6977bcf15c298ec388048ee3185
[SimplifyIndVar] Inline makIVComparisonInvariant to eleminate code duplication [NFC]

This formulation might be slightly slower since I eagerly compute the cheap replacements.  If anyone sees this having a compile time impact, let me know and I'll use lazy population instead.

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