[all-commits] [llvm/llvm-project] 3f7439: [mlir][DRR] Add location directive
Jacques Pienaar via All-commits
all-commits at lists.llvm.org
Tue Apr 7 13:38:57 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3f7439b28063c284975b49ebdc9c5645cedae7a0
https://github.com/llvm/llvm-project/commit/3f7439b28063c284975b49ebdc9c5645cedae7a0
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2020-04-07 (Tue, 07 Apr 2020)
Changed paths:
M mlir/docs/DeclarativeRewrites.md
M mlir/include/mlir/IR/OpBase.td
M mlir/include/mlir/TableGen/Pattern.h
M mlir/lib/TableGen/Pattern.cpp
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/mlir-tblgen/pattern.mlir
M mlir/tools/mlir-tblgen/RewriterGen.cpp
Log Message:
-----------
[mlir][DRR] Add location directive
Summary:
Add directive to indicate the location to give to op being created. This
directive is optional and if unused the location will still be the fused
location of all source operations.
Currently this directive only works with other op locations, reusing an
existing op location or a fusion of op locations. But doesn't yet support
supplying metadata for the FusedLoc.
Based off initial revision by antiagainst@ and effectively mirrors GlobalIsel
debug_locations directive.
Differential Revision: https://reviews.llvm.org/D77649
More information about the All-commits
mailing list