[clang] Remove optimization flags from clang codegen tests (PR #113714)

2024-10-28 Thread Matthias Braun via cfe-commits
https://github.com/MatzeB closed https://github.com/llvm/llvm-project/pull/113714 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Remove optimization flags from clang codegen tests (PR #113714)

2024-10-28 Thread Eli Friedman via cfe-commits
https://github.com/efriedma-quic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/113714 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Remove optimization flags from clang codegen tests (PR #113714)

2024-10-28 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon edited https://github.com/llvm/llvm-project/pull/113714 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Remove optimization flags from clang codegen tests (PR #113714)

2024-10-28 Thread Simon Pilgrim via cfe-commits
@@ -1,7 +1,7 @@ +// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5 // REQUIRES: x86-registered-target -// RUN: %clang_cc1 -ffreestanding %s -O3 -triple=x86_64-apple-darwin -target-feature +avx -emit-llvm -o - | FileCheck %s --ch

[clang] Remove optimization flags from clang codegen tests (PR #113714)

2024-10-28 Thread Simon Pilgrim via cfe-commits
@@ -1,6 +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-featu

[clang] Remove optimization flags from clang codegen tests (PR #113714)

2024-10-28 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon approved this pull request. LGTM with minors https://github.com/llvm/llvm-project/pull/113714 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Remove optimization flags from clang codegen tests (PR #113714)

2024-10-25 Thread Eli Friedman via cfe-commits
@@ -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-featu

[clang] Remove optimization flags from clang codegen tests (PR #113714)

2024-10-25 Thread Eli Friedman via cfe-commits
@@ -1,101 +1,230 @@ +// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5 efriedma-quic wrote: I think it makes sense to leave this test as-is... it's serving as an end-to-end test that the given C construct is a n

[clang] Remove optimization flags from clang codegen tests (PR #113714)

2024-10-25 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Matthias Braun (MatzeB) Changes - Remove an -O3 flag from a couple of clang x86 codegen tests so the tests do not need to be updated when optimizations in LLVM change. - Change the tests to use utils/update_cc_test_checks.sh - Chang

[clang] Remove optimization flags from clang codegen tests (PR #113714)

2024-10-25 Thread Matthias Braun via cfe-commits
MatzeB wrote: Update clang tests separately as suggested in #113212 https://github.com/llvm/llvm-project/pull/113714 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits