[llvm] [PowerPC][LLC] Utilize PPC::getNormalizedPPCTargetCPU() to set CPU (PR #113943)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 4 08:03:45 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lld-x86_64-ubuntu-fast` running on `as-builder-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/5801

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/PowerPC/stack-guard-global.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=powerpc64 -verify-machineinstrs < /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/PowerPC/stack-guard-global.ll      | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/PowerPC/stack-guard-global.ll --check-prefixes=BE64
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=powerpc64 -verify-machineinstrs
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/PowerPC/stack-guard-global.ll --check-prefixes=BE64
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/PowerPC/stack-guard-global.ll:17:14: error: BE64-NEXT: is not on the line after the previous match
; BE64-NEXT: std 30, 128(31) # 8-byte Folded Spill
             ^
<stdin>:22:2: note: 'next' match was here
 std 30, 128(31) # 8-byte Folded Spill
 ^
<stdin>:19:15: note: previous match ended here
 std 0, 160(1)
              ^
<stdin>:20:1: note: non-matching line after previous match is here
 sldi 3, 3, 2
^

Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/PowerPC/stack-guard-global.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
         .
         .
         .
        17:  stdu 1, -144(1) 
        18:  mr 31, 1 
        19:  std 0, 160(1) 
        20:  sldi 3, 3, 2 
        21:  addi 3, 3, 15 
        22:  std 30, 128(31) # 8-byte Folded Spill 
next:17      !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
        23:  addis 30, 2, __stack_chk_guard at toc@ha 
        24:  rldicr 3, 3, 0, 59 
        25:  neg 3, 3 
        26:  ld 4, __stack_chk_guard at toc@l(30) 
        27:  std 4, 120(31) 
         .
         .
         .
>>>>>>

--

...

```

</details>

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


More information about the llvm-commits mailing list