[all-commits] [llvm/llvm-project] bd26ce: [mlir][llvm] Fix loop annotation parser (#78266)
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Tue Jan 16 07:36:04 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bd26ce47c820858856bd33f20b0c606973155f51
https://github.com/llvm/llvm-project/commit/bd26ce47c820858856bd33f20b0c606973155f51
Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
Date: 2024-01-16 (Tue, 16 Jan 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/lib/Target/LLVMIR/LoopAnnotationImporter.cpp
M mlir/test/Dialect/LLVMIR/loop-metadata.mlir
Log Message:
-----------
[mlir][llvm] Fix loop annotation parser (#78266)
This revision moves the ArrayRef field of the LoopAnnotation attribute
to the end of the struct to enable printing and parsing of the
attribute. Previously, the parsing could fail in the presence of a start
or end loc.
More information about the All-commits
mailing list