From 3959e2aa05082daf3b44eb954138176a84581e27 Mon Sep 17 00:00:00 2001 From: "Lee, Sang Ik" Date: Fri, 17 Nov 2023 23:53:42 +0000 Subject: [PATCH 1/2] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e18a4bd90..6239925af 100644 --- a/README.md +++ b/README.md @@ -95,8 +95,9 @@ CMake so that it installs `FileCheck` to the chosen installation prefix. Additonally, `lit` has to be installed separately as it does not install with the rest of LLVM. -Make sure your LLVM install is built from the git commit sha as stated in +Make sure the installed LLVM is built from the git commit sha as stated in `build_tools/llvm_version.txt`. +And has all LLVM patches in `build_tools/patches` applied. ```sh cmake -G Ninja -B build -S . \ -DMLIR_DIR= \ @@ -115,8 +116,9 @@ cmake --build build --target check-imex ### Option 3: Build IMEX with LLVM build tree (out-of-tree) This is similar to option 2. Instead of installed LLVM, LLVM build tree is used. -Make sure your LLVM install is built from the git commit sha as stated in +Make sure before building LLVM, checkout the git commit sha as stated in `build_tools/llvm_version.txt`. +And apply all LLVM patches in `build_tools/patches`. ```sh cmake -G Ninja -B build -S . \ -DMLIR_DIR= \ From 2f50250889f5893f4594eeb94b49a2a3801f5cf8 Mon Sep 17 00:00:00 2001 From: "Lee, Sang Ik" Date: Fri, 17 Nov 2023 23:54:35 +0000 Subject: [PATCH 2/2] Fix clang compile error. --- lib/Conversion/XeGPUToSPIRV/XeGPUToSPIRV.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Conversion/XeGPUToSPIRV/XeGPUToSPIRV.cpp b/lib/Conversion/XeGPUToSPIRV/XeGPUToSPIRV.cpp index a4cd4e437..7edb0ecda 100644 --- a/lib/Conversion/XeGPUToSPIRV/XeGPUToSPIRV.cpp +++ b/lib/Conversion/XeGPUToSPIRV/XeGPUToSPIRV.cpp @@ -611,7 +611,7 @@ class LoadStorePrefetchNdToRawSend : public OpConversionPattern { // the base/surfaceInfo/blockInfo are staticly from the tensor desc // while the offsetX/Y are dynamicly udpated auto insertPoint = rewriter.saveInsertionPoint(); - CreateNdDescOp createDescOp = *findDescOp(op.template getTensorDesc()); + CreateNdDescOp createDescOp = *findDescOp(op.getTensorDesc()); rewriter.setInsertionPointAfter(createDescOp); auto v8i32 = VectorType::get(8, i32Type); auto v4i64 = VectorType::get(4, i64Type);