[clang] [Clang] Introduce __builtin_meow_synthesises_from_spaceship (PR #155612)

Louis Dionne via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 27 07:01:22 PDT 2025


ldionne wrote:

This is clever: that way we know it's a pure optimization to call spaceship instead of less-than twice. IIUC you'd plan to use this from libc++ to optimize eg __find_equal even on user-defined types?

https://github.com/llvm/llvm-project/pull/155612


More information about the cfe-commits mailing list