aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bytecode/BytecodeOpInterface.cpp
diff options
context:
space:
mode:
authorAiden Grossman <aidengrossman@google.com>2025-12-09 13:09:19 -0800
committerGitHub <noreply@github.com>2025-12-09 22:09:19 +0100
commit8f3c8dabc64517132c9c438ff467e75f39fbf8a6 (patch)
tree63625a5abf6dfe4ecee8ebd5ec65e3abbc55bb74 /mlir/lib/Bytecode/BytecodeOpInterface.cpp
parent87bf5ee23863bc0b467ee44b2184b2c134a98464 (diff)
downloadllvm-8f3c8dabc64517132c9c438ff467e75f39fbf8a6.zip
llvm-8f3c8dabc64517132c9c438ff467e75f39fbf8a6.tar.gz
llvm-8f3c8dabc64517132c9c438ff467e75f39fbf8a6.tar.bz2
[MLIR][Bytecode] Use consistent types for resolveEntry (#171502)
uint64_t and size_t are not the same across all platforms. This was causing build failures when building this file for wasm: llvm-project/mlir/lib/Bytecode/Reader/BytecodeReader.cpp:1323:19: error: out-of-line definition of 'resolveEntry' does not match any declaration in '(anonymous namespace)::AttrTypeReader' 1323 | T AttrTypeReader::resolveEntry(SmallVectorImpl<Entry<T>> &entries, size_t index, | ^~~~~~~~~~~~ third_party/llvm/llvm-project/mlir/lib/Bytecode/Reader/BytecodeReader.cpp:851:7: note: AttrTypeReader defined here 851 | class AttrTypeReader { | ^~~~~~~~~~~~~~ 1 error generated. Use uint64_t everywhere to ensure portability.
Diffstat (limited to 'mlir/lib/Bytecode/BytecodeOpInterface.cpp')
0 files changed, 0 insertions, 0 deletions