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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D123849
[ExpandMemCmp] Properly expand `bcmp` to an equality pattern. ClosedPublic Authored by courbet on Apr 15 2022, 2:14 AM.
Details Summary Before that change, constant-size bcmp would miss an opportunity to generate
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 15 2022, 2:20 AM This revision was landed with ongoing or failed builds.Apr 15 2022, 2:33 AM Closed by commit rG46a13a0ef847: [ExpandMemCmp] Properly expand `bcmp` to an equality pattern. (authored by courbet). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 423057 llvm/lib/CodeGen/ExpandMemCmp.cpp
llvm/test/CodeGen/X86/memcmp-optsize-x32.ll
llvm/test/CodeGen/X86/memcmp-optsize.ll
llvm/test/CodeGen/X86/memcmp-pgso-x32.ll
llvm/test/CodeGen/X86/memcmp-pgso.ll
llvm/test/Transforms/ExpandMemCmp/X86/bcmp.ll
|