[clang] [llvm] [PowerPC] Enable indiviual crbits tracking at -O2 (PR #133617)

Amy Kwan via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 2 09:08:10 PDT 2025


================
@@ -1,8 +1,8 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 3
 ; RUN: llc -verify-machineinstrs -mcpu=pwr7 < %s | FileCheck %s
-; RUN: llc -verify-machineinstrs -O1 -mcpu=pwr7 < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -O2 -mcpu=pwr7 < %s | FileCheck %s
----------------
amy-kwan wrote:

I assume maybe it is to test that we generate the CR bit instructions for -O2+. Perhaps we can either introduce a new test for this, or add another -O2 line here to check that the -O2 codegen evaluates to the same existing codegen.

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


More information about the llvm-commits mailing list