[all-commits] [llvm/llvm-project] ae461d: [MLIR][Bytecode] Ensure `dataIt` is aligned coming...

Aman LaChapelle via All-commits all-commits at lists.llvm.org
Sun Nov 13 09:27:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae461d8b99e63e26726ce3047f00b78180d427d8
      https://github.com/llvm/llvm-project/commit/ae461d8b99e63e26726ce3047f00b78180d427d8
  Author: bzcheeseman <aman.lachapelle at gmail.com>
  Date:   2022-11-13 (Sun, 13 Nov 2022)

  Changed paths:
    M mlir/lib/Bytecode/Reader/BytecodeReader.cpp

  Log Message:
  -----------
  [MLIR][Bytecode] Ensure `dataIt` is aligned coming out of `EncodingReader::alignTo`.

This addresses the TODO in the code previously and checks that the address of `dataIt` is properly aligned to the requested alignment.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D137855




More information about the All-commits mailing list