================
@@ -31,3 +31,27 @@
 
 // RUN: %clang -fveclib=Accelerate %s -nodefaultlibs -target 
arm64-apple-ios8.0.0 -### 2>&1 | FileCheck 
--check-prefix=CHECK-LINK-NODEFAULTLIBS %s
 // CHECK-LINK-NODEFAULTLIBS-NOT: "-framework" "Accelerate"
+
+
+/* Verify that the correct vector library is passed to LTO flags. */
+
+// RUN: %clang -### -fveclib=Accelerate -flto %s -v 2>&1 | FileCheck 
-check-prefix CHECK-LTO-ACCELERATE %s
----------------
mgabka wrote:

you are missing here target, presumably it should be  -target 
arm64-apple-ios8.0.0 as in the other run lines for "-fveclib=Accelerate", I 
think you need to ensure that each of the RUN lines specifies target

https://github.com/llvm/llvm-project/pull/78749
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to