[llvm] [llvm][RISCV] Implement Zilsd load/store pair optimization (PR #158640)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 15 09:51:49 PDT 2025


================
@@ -194,6 +194,10 @@ def HasStdExtZilsd : Predicate<"Subtarget->hasStdExtZilsd()">,
                        AssemblerPredicate<(all_of FeatureStdExtZilsd),
                                           "'Zilsd' (Load/Store pair instructions)">;
 
+def TuneZilsd4ByteAlign
----------------
topperc wrote:

This cannot be a "Tune" feature. If has to be part of mcpu not mtune. If the hardware doesn't support misaligned access it will crash. Tune features are not allowed to cause crashes.

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


More information about the llvm-commits mailing list