[llvm] [X86] Fold MOVAPS+SHUFPS into PSHUFD to eliminate redundant copies when … (PR #212626)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 01:48:15 PDT 2026


================
@@ -688,6 +688,13 @@ def TuningNoDomainDelayShuffle : SubtargetFeature<"no-bypass-delay-shuffle",
                                    "Has no bypass delay when using the 'wrong' shuffle type",
                                    [], InlineIgnore>;
 
+// AMD processors (bdver and znver) consider any fp data movement within
+// a register (except blends) to be integer domain.
+def TuningIntDomainFloatShuffle : SubtargetFeature<"int-domain-float-shuffle",
----------------
RKSimon wrote:

Just use TuningNoDomainDelayShuffle (which doesn't cover blend type shuffles, hence why we have TuningNoDomainDelayBlend as well) - please update the comment to make it explicit that it doesn't cover blends

https://github.com/llvm/llvm-project/pull/212626


More information about the llvm-commits mailing list