[llvm] [X86][IPRA] Add getIPRACSRegs since rbp is risked to be optimized out. (PR #109597)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 23 10:49:05 PDT 2024
weiguozhi wrote:
> X86 IPRA had below correctness issue: https://gcc.godbolt.org/z/6hh88xv9r This patch is a workaround to fix it.
The instructions for function foo is already broken even without considering IPRA. The RBP is not preserved according to the standard C calling convention.
https://github.com/llvm/llvm-project/pull/109597
More information about the llvm-commits
mailing list