[libc++] Handle armv7m in two architecture dependent tests

GitOrigin-RevId: f244166c475dd3d2f9ea1be9979c1ab1a4a5ddcc
diff --git a/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp b/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp
index d8dd1ab..6c6b1d4 100644
--- a/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp
+++ b/test/libcxx/language.support/support.rtti/type.info/type_info.comparison.apple.compile.pass.cpp
@@ -17,7 +17,7 @@
 #   error "_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION should be defined on Apple platforms"
 #endif
 
-#if defined(__x86_64__)
+#if defined(__x86_64__) || defined(__ARM_ARCH_7M__)
 #   if _LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION != 1
 #       error "_LIBCPP_TYPEINFO_COMPARISON_IMPLEMENTATION should be 1 (assume RTTI is merged) on Apple platforms"
 #   endif
diff --git a/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp b/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp
index 74ecac6..b35a50e 100644
--- a/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp
+++ b/test/std/language.support/cmp/cmp.alg/strong_order_long_double.verify.cpp
@@ -10,7 +10,7 @@
 // UNSUPPORTED: libcpp-no-concepts
 
 // The following platforms have sizeof(long double) == sizeof(double), so this test doesn't apply to them.
-// UNSUPPORTED: target={{arm64|armv8|armv7|powerpc|powerpc64}}-{{.+}}
+// UNSUPPORTED: target={{arm64|armv8|armv7|armv7m|powerpc|powerpc64}}-{{.+}}
 // UNSUPPORTED: target=x86_64-pc-windows-{{.+}}
 
 // <compare>