[Mlir-commits] [mlir] Pass: Do not use llvm::array_pod_sort to sort OpPassManagers. (PR #129968)

Peter Collingbourne llvmlistbot at llvm.org
Thu Mar 6 11:19:01 PST 2025


pcc wrote:

> There is no C++ trait that allows to check this at compile time?

There is one but libc++ doesn't use it because it has the wrong semantics:
https://github.com/llvm/llvm-project/blob/5f70ed5bdad826e3842da3ce86e54bef8df95dbe/libcxx/include/__type_traits/is_trivially_relocatable.h#L29

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


More information about the Mlir-commits mailing list