From 622ae328b281d578e86668b962c1ae9898824e21 Mon Sep 17 00:00:00 2001 From: ZhangYan Date: Wed, 21 Aug 2024 22:32:31 -0700 Subject: [PATCH 1/6] update llvm --- cmake/llvm-version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/llvm-version.txt b/cmake/llvm-version.txt index c6bbb8b0f..5af3af948 100644 --- a/cmake/llvm-version.txt +++ b/cmake/llvm-version.txt @@ -1 +1 @@ -8345289ded788f4df79f59df76df0c0437c3df64 +b96f18b20c31449ef9a6878b5c2725a7cf65c552 \ No newline at end of file From 918b5e5edabd706c2e22a6e84a8910b203ab661a Mon Sep 17 00:00:00 2001 From: ZhangYan Date: Wed, 21 Aug 2024 22:54:57 -0700 Subject: [PATCH 2/6] fix conflict with llvm --- lib/gc/Transforms/LowerToTileVector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gc/Transforms/LowerToTileVector.cpp b/lib/gc/Transforms/LowerToTileVector.cpp index 5610cef00..c2e0c895d 100644 --- a/lib/gc/Transforms/LowerToTileVector.cpp +++ b/lib/gc/Transforms/LowerToTileVector.cpp @@ -656,7 +656,7 @@ struct LowerToTileVectorPass // transpose or braodcast semantic etc. vector::populateVectorTransferPermutationMapLoweringPatterns(secondPattern); // Remove unnessary broadcast operation - vector::populateSinkVectorBroadcastPatterns(secondPattern); + vector::populateSinkVectorOpsPatterns(secondPattern); // Second fold (with the help of the `applyPatternsAndFoldGreedily` // function) can help us to eliminate redundant operation like consecutive // read and write. From 473ccd736a68e62615e702eaa21c88e68b6c6cf1 Mon Sep 17 00:00:00 2001 From: ZhangYan Date: Thu, 22 Aug 2024 00:04:27 -0700 Subject: [PATCH 3/6] disable patterns influenced by llvm api change --- lib/gc/Transforms/LowerToTileVector.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/gc/Transforms/LowerToTileVector.cpp b/lib/gc/Transforms/LowerToTileVector.cpp index c2e0c895d..c791253d1 100644 --- a/lib/gc/Transforms/LowerToTileVector.cpp +++ b/lib/gc/Transforms/LowerToTileVector.cpp @@ -656,7 +656,8 @@ struct LowerToTileVectorPass // transpose or braodcast semantic etc. vector::populateVectorTransferPermutationMapLoweringPatterns(secondPattern); // Remove unnessary broadcast operation - vector::populateSinkVectorOpsPatterns(secondPattern); + // ToDo: disable this pattern until the following support is ready + // vector::populateSinkVectorBroadcastPatterns(secondPattern); // Second fold (with the help of the `applyPatternsAndFoldGreedily` // function) can help us to eliminate redundant operation like consecutive // read and write. From e4bf8c753b865e5e7f2355814ebeaad717a7ce71 Mon Sep 17 00:00:00 2001 From: ZhangYan Date: Thu, 22 Aug 2024 00:27:08 -0700 Subject: [PATCH 4/6] fix comment --- lib/gc/Transforms/LowerToTileVector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gc/Transforms/LowerToTileVector.cpp b/lib/gc/Transforms/LowerToTileVector.cpp index c791253d1..4d9ab2d40 100644 --- a/lib/gc/Transforms/LowerToTileVector.cpp +++ b/lib/gc/Transforms/LowerToTileVector.cpp @@ -656,7 +656,7 @@ struct LowerToTileVectorPass // transpose or braodcast semantic etc. vector::populateVectorTransferPermutationMapLoweringPatterns(secondPattern); // Remove unnessary broadcast operation - // ToDo: disable this pattern until the following support is ready + // TODO: disable this pattern until the following support is ready // vector::populateSinkVectorBroadcastPatterns(secondPattern); // Second fold (with the help of the `applyPatternsAndFoldGreedily` // function) can help us to eliminate redundant operation like consecutive From e1a3cf27a30f7fd88e95f033328759498f4366f4 Mon Sep 17 00:00:00 2001 From: ZhangYan Date: Thu, 22 Aug 2024 01:31:20 -0700 Subject: [PATCH 5/6] fix dir error --- scripts/compile.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/compile.sh b/scripts/compile.sh index 632a503e3..369dac398 100755 --- a/scripts/compile.sh +++ b/scripts/compile.sh @@ -163,6 +163,7 @@ build_llvm() { get_llvm() { if [ ! -z "$DEV_BUILD" ]; then mkdir -p "$EXTERNALS_DIR" + cd "$EXTERNALS_DIR" build_llvm cd "$PROJECT_DIR" return 0 From 547227fb629598d7faedaf68cfa4b3a61edd544f Mon Sep 17 00:00:00 2001 From: ZhangYan Date: Thu, 22 Aug 2024 19:44:57 -0700 Subject: [PATCH 6/6] update --- cmake/llvm-version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/llvm-version.txt b/cmake/llvm-version.txt index 5af3af948..1777e4c11 100644 --- a/cmake/llvm-version.txt +++ b/cmake/llvm-version.txt @@ -1 +1 @@ -b96f18b20c31449ef9a6878b5c2725a7cf65c552 \ No newline at end of file +f06563a5c0d239a6b98f74db522681613254ad08 \ No newline at end of file