Revert "[InstCombine] Don't check for alloc fn before fetching object size"
authorNikita Popov <npopov@redhat.com>
Thu, 21 Jul 2022 08:59:12 +0000 (10:59 +0200)
committerNikita Popov <npopov@redhat.com>
Thu, 21 Jul 2022 08:59:12 +0000 (10:59 +0200)
commit70056d04e2dc928ece0fbc58a85f3af7d5940b34
tree1b44a173339d047c04723ffa5cea175119e720d0
parentc72c22c04df992c95c5912d0075e5263c88f9fec
Revert "[InstCombine] Don't check for alloc fn before fetching object size"

This reverts commit c72c22c04df992c95c5912d0075e5263c88f9fec.

This affected an Analysis test that I missed. Reverting for now.
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
llvm/test/Transforms/InstCombine/deref-alloc-fns.ll