[llvm] [llvm] Upgrade ARM data layouts that are missing Fi8 (PR #224639)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 01:39:46 PDT 2026


================
@@ -226,6 +232,22 @@ TEST(DataLayoutUpgradeTest, NoDataLayoutUpgrade) {
           "powerpc64-unknown-aix"),
       "E-m:a-Fi64-i64:64-i128:128-n32:64-f64:32:64-S128-v256:256:256-v512:512:"
       "512");
+
+  // Check that ARM targets do not add Fi8 if there is no p32:32.
----------------
DavidSpickett wrote:

This test is for the last resort if there is no p32:32. Maybe that'll never happen but I had to choose something to do in that case. I'm not saying I know of layouts without it that are valid for Arm.

(and I can't put the Fi8 anywhere in the string because at this layer it's a string match rather than looking at the components of the layout)

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


More information about the llvm-commits mailing list