projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6595ef0
)
[MLIR] Fix python tests for LocationAttr
author
Andrew Young
<youngar17@gmail.com>
Thu, 26 Jan 2023 01:01:11 +0000
(17:01 -0800)
committer
Andrew Young
<youngar17@gmail.com>
Thu, 26 Jan 2023 01:02:43 +0000
(17:02 -0800)
Follow up to https://reviews.llvm.org/D142522. I forgot to push the
test changes, was caught only in the post-merge builds.
mlir/test/python/ir/location.py
patch
|
blob
|
history
diff --git
a/mlir/test/python/ir/location.py
b/mlir/test/python/ir/location.py
index
c1c96d0
..
6a30a1d
100644
(file)
--- a/
mlir/test/python/ir/location.py
+++ b/
mlir/test/python/ir/location.py
@@
-29,7
+29,7
@@
run(testUnknown)
def testLocationAttr():
with Context() as ctxt:
loc = Location.unknown()
- attr = loc.
get_attr()
+ attr = loc.
attr
clone = Location.from_attr(attr)
gc.collect()
# CHECK: loc: loc(unknown)