[llvm] [CodeGen][NewPM] Port `machine-block-freq` to new pass manager (PR #98317)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 00:51:49 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-nvptx64-nvidia-ubuntu` running on `as-builder-7` while building `llvm` at step 6 "test-build-unified-tree-check-llvm".

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

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/X86/machine-block-freq.mir' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/llc --passes='print<machine-block-freq>' -filetype=null 2>&1 /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/CodeGen/X86/machine-block-freq.mir | /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/CodeGen/X86/machine-block-freq.mir
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/llc '--passes=print<machine-block-freq>' -filetype=null /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/CodeGen/X86/machine-block-freq.mir
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/CodeGen/X86/machine-block-freq.mir
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/CodeGen/X86/machine-block-freq.mir:32:10: error: CHECK: expected string not found in input
# CHECK: block-frequency-info: is_odd
         ^
<stdin>:1:1: note: scanning from here
error: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/CodeGen/X86/machine-block-freq.mir:9:14: unknown register name 'edi'
^
<stdin>:1:121: note: possible intended match here
error: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/CodeGen/X86/machine-block-freq.mir:9:14: unknown register name 'edi'
                                                                                                                        ^

Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/CodeGen/X86/machine-block-freq.mir

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

Input was:
<<<<<<
            1: error: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/CodeGen/X86/machine-block-freq.mir:9:14: unknown register name 'edi' 
check:32'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:32'1                                                                                                                             ?                                                 possible intended match
            2:  liveins: $edi 
check:32'0     ~~~~~~~~~~~~~~~
            3:  ^ 
check:32'0     ~~~
            4:  
check:32'0     ~
>>>>>>

--

********************


```

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


More information about the llvm-commits mailing list