[Mlir-commits] [mlir] [MLIR][Python] Remove partial LLVM APIs in python bindings (5/n) (PR #180644)

Jakub Kuderski llvmlistbot at llvm.org
Tue Feb 10 07:05:51 PST 2026


================
@@ -910,7 +952,7 @@ MlirAttribute PyDenseElementsAttribute::getAttributeFromBuffer(
 MlirAttribute PyDenseElementsAttribute::getBitpackedAttributeFromBooleanBuffer(
     Py_buffer &view, std::optional<std::vector<int64_t>> explicitShape,
     MlirContext &context) {
-  if (llvm::endianness::native != llvm::endianness::little) {
----------------
kuhar wrote:

OK, probably too complicated to copy over

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


More information about the Mlir-commits mailing list