Revert "[InstCombine] Make indexed compare fold opaque ptr compatible"
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 25 Jun 2021 22:32:59 +0000 (00:32 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 25 Jun 2021 22:32:59 +0000 (00:32 +0200)
commitfdd4c199a1ec68a231ea0086239e7d8287a40fad
treeea0fa8f71fbf9587db8cdcd126a914ac137d692f
parent4506f614cb6983a16d117cf77a968608e66d7a5c
Revert "[InstCombine] Make indexed compare fold opaque ptr compatible"

This reverts commit 5cb20ef8a235c2027489a196bba27630ca21a00b.

Assertion failures with this patch were reported on
https://reviews.llvm.org/rG5cb20ef8a235, revert for now.
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/indexed-gep-compares.ll