[all-commits] [llvm/llvm-project] 541171: [CodeGen][test] XFAIL CodeGen/Generic/ForceStackAl...

rorth via All-commits all-commits at lists.llvm.org
Mon Feb 7 23:58:29 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 541171f02fd728dfe9f7171b8d99a333218da9e7
      https://github.com/llvm/llvm-project/commit/541171f02fd728dfe9f7171b8d99a333218da9e7
  Author: Rainer Orth <ro at gcc.gnu.org>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    M llvm/test/CodeGen/Generic/ForceStackAlign.ll

  Log Message:
  -----------
  [CodeGen][test] XFAIL CodeGen/Generic/ForceStackAlign.ll on SPARC

`CodeGen/Generic/ForceStackAlign.ll` `FAIL`s on SPARC like this:

  LLVM ERROR: Function "g" required stack re-alignment, but LLVM couldn't
handle it (probably because it has a dynamic alloca).

According to the comments in `llvm/lib/Target/Sparc/SparcFrameLowering.cpp`
(`SparcFrameLowering::emitPrologue`) and `SparcRegisterInfo.cpp`
(`SparcRegisterInfo::canRealignStack`) this isn't going to change any time
soon, so this patch `XFAIL`s the test.

Tested on `sparcv9-sun-solaris2.11`.

Differential Revision: https://reviews.llvm.org/D119119




More information about the All-commits mailing list