<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/123195>123195</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
PointerIntPair.h:172:17: error: static assertion failed due to requirement
</td>
</tr>
<tr>
<th>Labels</th>
<td>
build-problem,
mlir
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
sylvestre
</td>
</tr>
</table>
<pre>
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),
```
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