Skip to content

Commit eff7b30

Browse files
Disable LLVM post processing (#2626)
`IGCVectorizer` of driver agama 1032 has improved. This PR attends to disable the LLVM post processing Triton performed by default, which includes `SLPVectorizer`. By disabling LLVM post processing, the performance impact to the 3 key workloads (FA, GEMM, Softmax) are all positive. For example, GEMM out of box has improved by 16%.  ![Screenshot 2024-11-04 184048](https://github.com/user-attachments/assets/84b97f67-3ac4-4f61-975a-eb44ccfe3936) CI: https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/11664443045, https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/11674882693 Signed-off-by: Whitney Tsang <[email protected]>
1 parent 744383a commit eff7b30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/intel/backend/compiler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def make_llir(src, metadata, options):
298298
paths = [path for (name, path) in options.extern_libs]
299299
llvm.link_extern_libs(llvm_mod, paths)
300300
intel.optimize_module(llvm_mod, llvm.OPTIMIZE_O3)
301-
if os.getenv("TRITON_INTEL_ENABLE_POST_PROCESS_LLIR", "1") == "1":
301+
if os.getenv("TRITON_INTEL_ENABLE_POST_PROCESS_LLIR", "0") == "1":
302302
intel.post_process_llir(llvm_mod)
303303

304304
# Get some metadata

0 commit comments

Comments
 (0)