Skip to content

Commit 10fac7c

Browse files
[Gluon] Add gluon inliner pass to llir lowering (#5209)
This PR fixes #5147
1 parent 5d58918 commit 10fac7c

File tree

7 files changed

+1
-12
lines changed

7 files changed

+1
-12
lines changed

scripts/skiplist/a770/gluon.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# https://github.com/intel/intel-xpu-backend-for-triton/issues/5147
2-
python/test/gluon/test_core.py::test_2d_tensor_early_return
31
# https://github.com/intel/intel-xpu-backend-for-triton/issues/5148
42
python/test/gluon/test_lowerings.py::test_histogram[2048-2-src_layout3-dst_layout3]
53
python/test/gluon/test_lowerings.py::test_histogram[32-32-src_layout4-dst_layout4]

scripts/skiplist/arl-h/gluon.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# https://github.com/intel/intel-xpu-backend-for-triton/issues/5147
2-
python/test/gluon/test_core.py::test_2d_tensor_early_return
31
# https://github.com/intel/intel-xpu-backend-for-triton/issues/5148
42
python/test/gluon/test_lowerings.py::test_histogram[2048-2-src_layout3-dst_layout3]
53
python/test/gluon/test_lowerings.py::test_histogram[32-32-src_layout4-dst_layout4]

scripts/skiplist/arl-s/gluon.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# https://github.com/intel/intel-xpu-backend-for-triton/issues/5147
2-
python/test/gluon/test_core.py::test_2d_tensor_early_return
31
# https://github.com/intel/intel-xpu-backend-for-triton/issues/5148
42
python/test/gluon/test_lowerings.py::test_histogram[2048-2-src_layout3-dst_layout3]
53
python/test/gluon/test_lowerings.py::test_histogram[32-32-src_layout4-dst_layout4]

scripts/skiplist/default/gluon.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# https://github.com/intel/intel-xpu-backend-for-triton/issues/5147
2-
python/test/gluon/test_core.py::test_2d_tensor_early_return
31
# https://github.com/intel/intel-xpu-backend-for-triton/issues/5148
42
python/test/gluon/test_lowerings.py::test_histogram[2048-2-src_layout3-dst_layout3]
53
python/test/gluon/test_lowerings.py::test_histogram[32-32-src_layout4-dst_layout4]

scripts/skiplist/mtl/gluon.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# https://github.com/intel/intel-xpu-backend-for-triton/issues/5147
2-
python/test/gluon/test_core.py::test_2d_tensor_early_return
31
# https://github.com/intel/intel-xpu-backend-for-triton/issues/5148
42
python/test/gluon/test_lowerings.py::test_histogram[2048-2-src_layout3-dst_layout3]
53
python/test/gluon/test_lowerings.py::test_histogram[32-32-src_layout4-dst_layout4]

scripts/skiplist/xe2/gluon.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# https://github.com/intel/intel-xpu-backend-for-triton/issues/5147
2-
python/test/gluon/test_core.py::test_2d_tensor_early_return
31
# https://github.com/intel/intel-xpu-backend-for-triton/issues/5148
42
python/test/gluon/test_lowerings.py::test_histogram[2048-2-src_layout3-dst_layout3]
53
python/test/gluon/test_lowerings.py::test_histogram[32-32-src_layout4-dst_layout4]

third_party/intel/backend/compiler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ def make_llir(src, metadata, options):
291291
pm.enable_debug()
292292

293293
passes.convert.add_scf_to_cf(pm)
294+
passes.gluon.add_inliner(pm)
294295
passes.convert.add_index_to_llvmir(pm)
295296
intel.passes.ttgpuir.add_allocate_shared_memory(pm)
296297
passes.ttgpuir.add_allocate_global_scratch_memory(pm)

0 commit comments

Comments
 (0)