[Mlir-commits] [mlir] [mlir][bytecode] Check that bytecode source buffer is sufficiently aligned. (PR #66380)

Christian Sigg llvmlistbot at llvm.org
Thu Sep 14 13:46:26 PDT 2023


chsigg wrote:

> Adding the checks is really nice! Just wondering how the current placement impacts perf during reading.

It looks pretty cheap, cheaper than checking the values of the alignment chunk. Maybe I'm missing something, but does this get called often?

What I still don't understand though, how does the user know what alignment the input buffer needs?

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


More information about the Mlir-commits mailing list