[all-commits] [llvm/llvm-project] b743ff: [mlir] Relax restriction on name location parsing
Jacques Pienaar via All-commits
all-commits at lists.llvm.org
Sun Dec 12 08:07:56 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b743ff161b8296f4f85d095582579e290117d823
https://github.com/llvm/llvm-project/commit/b743ff161b8296f4f85d095582579e290117d823
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2021-12-12 (Sun, 12 Dec 2021)
Changed paths:
M mlir/lib/Parser/LocationParser.cpp
M mlir/test/IR/invalid-locations.mlir
M mlir/test/IR/locations.mlir
Log Message:
-----------
[mlir] Relax restriction on name location parsing
We currently restrict parsing of location to not allow nameloc being
nested inside nameloc. This restriction may be historical as there
doesn't seem to be a reason for it anymore (locations like this can be
constructed in C++ and they print fine). Relax this restriction in the
parser to allow this nesting.
Differential Revision: https://reviews.llvm.org/D115581
More information about the All-commits
mailing list