[clang] [Sparc] Add flags to enable errata workaround pass for GR712RC and UT700 (PR #104742)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 19 14:14:40 PDT 2024
================
@@ -0,0 +1,12 @@
+// RUN: %clang -target sparc -mfix-gr712rc -### %s 2> %t
+// RUN: FileCheck --check-prefix=CHECK-FIX-GR712RC < %t %s
+// CHECK-FIX-GR712RC: "-target-feature" "+fix-tn0009"
+// CHECK-FIX-GR712RC: "-target-feature" "+fix-tn0011"
----------------
MaskRay wrote:
If these are adjacent, you can place them on the same line. If you don't that, use `-SAME:`
https://github.com/llvm/llvm-project/pull/104742
More information about the cfe-commits
mailing list