https://github.com/PeddleSpam updated
https://github.com/llvm/llvm-project/pull/128938
>From f1c09277af268256fce71df9a858959b69385ef1 Mon Sep 17 00:00:00 2001
From: Leon Clark
Date: Wed, 26 Feb 2025 15:59:02 +
Subject: [PATCH 1/6] [AggressiveInstCombine] Shrink loads used in
shufflevector
https://github.com/PeddleSpam updated
https://github.com/llvm/llvm-project/pull/128938
>From f1c09277af268256fce71df9a858959b69385ef1 Mon Sep 17 00:00:00 2001
From: Leon Clark
Date: Wed, 26 Feb 2025 15:59:02 +
Subject: [PATCH 1/7] [AggressiveInstCombine] Shrink loads used in
shufflevector
@@ -3398,6 +3399,101 @@ bool
VectorCombine::foldInterleaveIntrinsics(Instruction &I) {
return true;
}
+// If `I` is a load instruction, used only by shufflevector instructions with
+// poison values, attempt to shrink the load to only the lanes being used.
+bool VectorCombi
@@ -3398,6 +3399,101 @@ bool
VectorCombine::foldInterleaveIntrinsics(Instruction &I) {
return true;
}
+// If `I` is a load instruction, used only by shufflevector instructions with
+// poison values, attempt to shrink the load to only the lanes being used.
+bool VectorCombi
@@ -47,21 +47,12 @@ define <8 x i32> @concat_extract_subvectors_poison(<8 x
i32> %x) {
; broadcast loads are free on AVX (and blends are much cheap than general
2-operand shuffles)
define <4 x double> @blend_broadcasts_v4f64(ptr %p0, ptr %p1) {
-; SSE-LABEL: define <4 x do
https://github.com/PeddleSpam updated
https://github.com/llvm/llvm-project/pull/128938
>From f1c09277af268256fce71df9a858959b69385ef1 Mon Sep 17 00:00:00 2001
From: Leon Clark
Date: Wed, 26 Feb 2025 15:59:02 +
Subject: [PATCH 1/3] [AggressiveInstCombine] Shrink loads used in
shufflevector
https://github.com/PeddleSpam updated
https://github.com/llvm/llvm-project/pull/128938
>From f1c09277af268256fce71df9a858959b69385ef1 Mon Sep 17 00:00:00 2001
From: Leon Clark
Date: Wed, 26 Feb 2025 15:59:02 +
Subject: [PATCH 1/2] [AggressiveInstCombine] Shrink loads used in
shufflevector
https://github.com/PeddleSpam updated
https://github.com/llvm/llvm-project/pull/128938
Rate limit ยท GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,san
@@ -3483,6 +3487,127 @@ bool
VectorCombine::foldInterleaveIntrinsics(Instruction &I) {
return true;
}
+// Attempt to shrink loads that are only used by shufflevector instructions.
+bool VectorCombine::shrinkLoadForShuffles(Instruction &I) {
+ auto *OldLoad = dyn_cast(&I);
@@ -3483,6 +3487,127 @@ bool
VectorCombine::foldInterleaveIntrinsics(Instruction &I) {
return true;
}
+// Attempt to shrink loads that are only used by shufflevector instructions.
+bool VectorCombine::shrinkLoadForShuffles(Instruction &I) {
+ auto *OldLoad = dyn_cast(&I);
10 matches
Mail list logo