[clang] Remove optimization flags from clang codegen tests (PR #113714)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 25 13:52:23 PDT 2024
================
@@ -1,5 +1,6 @@
-// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -O3 -triple=x86_64-apple-darwin -target-feature +avx -emit-llvm -o - | FileCheck %s
-// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -O3 -triple=i386-apple-darwin -target-feature +avx -emit-llvm -o - | FileCheck %s
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=x86_64-- -target-feature +avx -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-X32
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -triple=i386-- -target-feature +avx -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-X64
----------------
efriedma-quic wrote:
Maybe could add `opt -passes=mem2reg` to reduce the amount of clutter in the test output without interacting with "real" optimizations.
https://github.com/llvm/llvm-project/pull/113714
More information about the cfe-commits
mailing list