Revert "[AArch64] Optimize memcmp when the result is tested for [in]equality with 0"
authorPaul Kirth <paulkirth@google.com>
Fri, 28 Oct 2022 21:57:23 +0000 (21:57 +0000)
committerPaul Kirth <paulkirth@google.com>
Fri, 28 Oct 2022 23:18:21 +0000 (23:18 +0000)
commit1c0681757669880bda144aeb56dcad6901a2016b
tree70868d31fbb20ba15fd883caf4274aed50755038
parenta842f74056793d9ab41411aa343811368164e6a8
Revert "[AArch64] Optimize memcmp when the result is tested for [in]equality with 0"

This reverts commit 01ff511593d1a4920fa3c1d450ad2077661e0bdc.

It triggers an assertion failure in SelectionDAG.cpp

see https://github.com/llvm/llvm-project/issues/58675 for details.
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/atomicrmw-O0.ll
llvm/test/CodeGen/AArch64/bcmp-inline-small.ll
llvm/test/CodeGen/AArch64/bcmp.ll
llvm/test/CodeGen/AArch64/dag-combine-setcc.ll
llvm/test/CodeGen/AArch64/i128-cmp.ll
llvm/test/CodeGen/AArch64/umulo-128-legalisation-lowering.ll