================
@@ -0,0 +1,1636 @@
+// REQUIRES: aarch64-registered-target || arm-registered-target
+
+// RUN: %clang_cc1_cg_arm64_neon -emit-llvm %s
-disable-O0-optnone | opt -S -passes=mem2reg,sroa,instcombine | FileCheck %s
--check-prefix=LLVM
+// RUN: %if cir-enabled %{%clang_cc1_cg_arm64_neon -fclangir -emit-llvm %s
-disable-O0-optnone | opt -S -passes=mem2reg,sroa,instcombine,simplifycfg |
FileCheck %s --check-prefix=LLVM %}
----------------
banach-space wrote:
Do we need both `instcombine` and `simplifycfg`? We should only use what's
absolutely necessary, but no more :)
Could you align lines 3 and 4 so that `FileCheck` are exactly one above the
other - nice formatting makes it super easy to see the difference between `RUN`
lines. That's very handy :)
https://github.com/llvm/llvm-project/pull/209347
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits