Files
clang-p2996/llvm/lib/CodeGen/ExpandMemCmp.cpp
Clement Courbet 46a13a0ef8 [ExpandMemCmp] Properly expand bcmp to an equality pattern.
Before that change, constant-size `bcmp` would miss an opportunity to generate
a more efficient equality pattern and would generate a -1/0-1 pattern
instead.

Differential Revision: https://reviews.llvm.org/D123849
2022-04-15 11:26:24 +02:00

36 KiB