aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloSchedule.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2022-04-26 11:21:18 -0700
committerRiver Riddle <riddleriver@gmail.com>2022-04-28 12:57:59 -0700
commitd4381b3f93a6e53e1b35232b9a0039b1f5e04c6a (patch)
tree5037f6fa145803787a8158664b3aea93bd99d514 /llvm/lib/CodeGen/ModuloSchedule.cpp
parent92a836da07596a9e409c3b4231fe727e0924d0e4 (diff)
downloadllvm-d4381b3f93a6e53e1b35232b9a0039b1f5e04c6a.zip
llvm-d4381b3f93a6e53e1b35232b9a0039b1f5e04c6a.tar.gz
llvm-d4381b3f93a6e53e1b35232b9a0039b1f5e04c6a.tar.bz2
[mlir:PDL] Fix a syntax ambiguity in pdl.attribute
pdl.attribute currently has a syntax ambiguity that leads to the incorrect parsing of pdl.attribute operations with locations that don't also have a constant value. For example: ``` pdl.attribute loc("foo") ``` The above IR is treated as being a pdl.attribute with a constant value containing the location, `loc("foo")`, which is incorrect. This commit changes the syntax to use `= <constant-value>` to clearly distinguish when the constant value is present, as opposed to just trying to parse an attribute. Differential Revision: https://reviews.llvm.org/D124582
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions