[llvm] [PowerPC] Utilize `getReservedRegs` to find asm clobberable registers. (PR #99766)

via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 11 05:18:56 PDT 2024


================
@@ -1,7 +1,7 @@
 ; RUN: llc < %s -verify-machineinstrs -mtriple=powerpc-unknown-unkown \
-; RUN:   -mcpu=pwr7 2>&1 | FileCheck %s
----------------
EsmeYi wrote:

The purpose is to avoid optimizing the clobbering of r30 and r31 in @test_r31_r30_clobber().

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


More information about the llvm-commits mailing list