[llvm] [X86] shouldReduceLoadWidth - don't split loads if ANY uses are a extract+store or a full width legal binop (PR #129695)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 23 06:07:16 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp,h -- llvm/lib/Target/X86/X86ISelLowering.cpp llvm/lib/Target/X86/X86ISelLowering.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 769268ed1..de172b8a0 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -3311,7 +3311,7 @@ bool X86TargetLowering::shouldReduceLoadWidth(
}
if (AllExtractStores)
- return false;
+ return false;
// If we have an user that uses the full vector width, then this use is
// only worth splitting if the offset isn't 0 (to avoid an
``````````
</details>
https://github.com/llvm/llvm-project/pull/129695
More information about the llvm-commits
mailing list