Issue 123195
Summary PointerIntPair.h:172:17: error: static assertion failed due to requirement
Labels build-problem, mlir
Assignees
Reporter sylvestre
    Recent regression on linux:

https://llvm-jenkins.debian.net/job/llvm-toolchain-bookworm-binaries/architecture=i386,distribution=bookworm,label=i386/1114/consoleFull```
In file included from /build/source/mlir/lib/Bytecode/Writer/BytecodeWriter.cpp:9:
In file included from /build/source/mlir/include/mlir/Bytecode/BytecodeWriter.h:16:
In file included from /build/source/mlir/include/mlir/IR/AsmState.h:18:
In file included from /build/source/mlir/include/mlir/IR/OperationSupport.h:17:
In file included from /build/source/mlir/include/mlir/IR/Attributes.h:12:
In file included from /build/source/mlir/include/mlir/IR/AttributeSupport.h:17:
In file included from /build/source/mlir/include/mlir/IR/StorageUniquerSupport.h:21:
In file included from /build/source/llvm/include/llvm/ADT/FunctionExtras.h:35:
/build/source/llvm/include/llvm/ADT/PointerIntPair.h:172:17: error: static assertion failed due to requirement '3U <= PointerUnionUIntTraits<const mlir::Value *, const mlir::Type *, mlir::OpOperand *, mlir::detail::OpResultImpl *, mlir::Type>::NumLowBitsAvailable': PointerIntPair with integer size too large for pointer
  172 |   static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/llvm/include/llvm/ADT/PointerIntPair.h:111:13: note: in instantiation of template class 'llvm::PointerIntPairInfo<void *, 3, llvm::pointer_union_detail::PointerUnionUIntTraits<const mlir::Value *, const mlir::Type *, mlir::OpOperand *, mlir::detail::OpResultImpl *, mlir::Type>>' requested here
  111 |     Value = Info::updateInt(Info::updatePointer(0, PtrVal),
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to