[ExpandMemCmp] Trigger on bcmp too.
Summary: Fixes 41150.
Subscribers: hiraditya, llvm-commits, ckennelly, sbenza, jyknight
Differential Revision: https://reviews.llvm.org/D59593
|courbet||Mar 20 2019, 4:51 AM|
Yes, definitely. I was doing a pass of where LibFunc_memcmp was used, and that looks like another place.
(note that most comparison chains to only have a few comparisons, so they will be expanded in ExpandMemCmp())
Tracking this in PR40699