[llvm-branch-commits] [libcxx] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

Nikolas Klauser via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 7 07:23:41 PDT 2024


philnik777 wrote:

@EricWF When switching to `__libcpp_operator_{new,delete}` everything gets compiled exactly the same on my system. Could you disclose which test you used for this code? You also claim that the `__pointer_int_pair` causes the optimizer to lose track of the function pointer causing the call to not be elided, but I can't see any calls other than `new` and `delete` in the code you posted either.

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


More information about the llvm-branch-commits mailing list