[llvm] [AArch64] Pre-commit tests for #125686 (NFC) (PR #126643)

Tomas Matheson via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 11 03:32:50 PST 2025


================
@@ -285,8 +332,16 @@ def write_lit_tests():
         for feat in Feature:
             with open(f"{triple}-atomicrmw-{feat.name}.ll", "w") as f:
                 filter_args = r'--filter-out "\b(sp)\b" --filter "^\s*(ld[^r]|st[^r]|swp|cas|bl|add|and|eor|orn|orr|sub|mvn|sxt|cmp|ccmp|csel|dmb)"'
-                header(f, triple, [feat], filter_args)
-                all_atomicrmw(f)
+                if feat != Feature.lsfe:
----------------
tmatheson-arm wrote:

By passing `ATOMICRMW_OPS` or `FP_ATOMICRMW_OPS` into `write_lit_tests()`, and removing the `no_opt`, you can avoid this logic which is conditional on special feature values.

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


More information about the llvm-commits mailing list