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

Christian Sigg via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 13:46:25 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 llvm-commits mailing list