Revert "[BasicAA] Handle two unknown sizes for GEPs"
authorFlorian Hahn <flo@fhahn.com>
Fri, 18 Dec 2020 17:48:01 +0000 (17:48 +0000)
committerFlorian Hahn <flo@fhahn.com>
Fri, 18 Dec 2020 17:59:12 +0000 (17:59 +0000)
commita74941da716d29a1d962d17b8112c40a8a45f9e7
treeaaa3f68a86c05242d63850941ec6e21e071b376e
parentfc7b7fc066946f83b04928d80242fcffbf23323e
Revert "[BasicAA] Handle two unknown sizes for GEPs"

Temporarily revert commit 8b1c4e310c2f9686cad925ad81d8e2be10a1ef3c.

After 8b1c4e310c2f the compile-time for `MultiSource/Benchmarks/MiBench/consumer-lame`
dramatically increases with -O3 & LTO, causing issues for builders with
that configuration.

I filed PR48553 with a smallish reproducer that shows a 10-100x compile
time increase.
llvm/lib/Analysis/BasicAliasAnalysis.cpp
llvm/test/Analysis/BasicAA/phi-aa.ll
llvm/test/Analysis/BasicAA/recphi.ll
llvm/test/Transforms/LoopVectorize/ARM/pointer_iv.ll
llvm/test/Transforms/LoopVersioning/exit-block-dominates-rt-check-block.ll