Skip to content

Commit

Permalink
Fix lint and correct test config option name
Browse files Browse the repository at this point in the history
Change-Id: I864475c3d03e9b426ce5ef987989216d57f3e019
  • Loading branch information
lhutton1 committed May 7, 2024
1 parent 122bd65 commit efb057b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/python/codegen/test_target_codegen_aarch64.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ def before(a: T.handle):

@pytest.mark.skipif(
llvm_version_major() < 11,
reason="Vscale and get.active.lane.mask are not supported in earlier versions of LLVM"
reason="Vscale and get.active.lane.mask are not supported in earlier versions of LLVM",
)
def test_predicated_scalable_buffer():
target = "llvm -mtriple=aarch64-linux-gnu -mattr=+sve"
Expand Down
2 changes: 1 addition & 1 deletion tests/python/tir-transform/test_tir_transform_vectorize.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def expected(a: T.handle, b: T.handle):
)

before_mod = tvm.IRModule.from_expr(before)
with tvm.transform.PassContext(config={"tir.enable_buffer_predication": True}):
with tvm.transform.PassContext(config={"tir.enable_buffer_level_predication": True}):
after = tvm.tir.transform.VectorizeLoop()(before_mod)["main"]
tvm.ir.assert_structural_equal(after, expected)

Expand Down

0 comments on commit efb057b

Please sign in to comment.