[llvm] [Instrumentation] Support `MachineFunction` in `OptNoneInstrumentation` (PR #115471)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 9 01:49:45 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ppc64le-rhel` running on `ppc64le-clang-rhel-test` while building `llvm` at step 7 "test-build-unified-tree-check-all".

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

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

```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/X86/optnone.mir' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/llc -passes=machine-cse -debug-pass-manager /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/CodeGen/X86/optnone.mir -o - 2>&1 | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/CodeGen/X86/optnone.mir
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/llc -passes=machine-cse -debug-pass-manager /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/CodeGen/X86/optnone.mir -o -
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/CodeGen/X86/optnone.mir
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/CodeGen/X86/optnone.mir:3:10: error: CHECK: expected string not found in input
# CHECK: Skipping pass MachineCSEPass on test_optnone due to optnone attribute
         ^
<stdin>:1:1: note: scanning from here
Running analysis: MachineModuleAnalysis on [module]
^
<stdin>:3:1: note: possible intended match here
Running analysis: MachineFunctionAnalysis on test_optnone
^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/CodeGen/X86/optnone.mir

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

Input was:
<<<<<<
           1: Running analysis: MachineModuleAnalysis on [module] 
check:3'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
           2: Running analysis: InnerAnalysisManagerProxy<FunctionAnalysisManager, Module> on [module] 
check:3'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           3: Running analysis: MachineFunctionAnalysis on test_optnone 
check:3'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:3'1     ?                                                          possible intended match
           4: Running analysis: OuterAnalysisManagerProxy<ModuleAnalysisManager, Function> on test_optnone 
check:3'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           5: error: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/llvm/test/CodeGen/X86/optnone.mir:13:5: unknown machine instruction name 'RET64' 
check:3'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           6:  RET64 
check:3'0     ~~~~~~~
           7:  ^ 
check:3'0     ~~~
           8:  
check:3'0     ~
>>>>>>

--

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


```

</details>

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


More information about the llvm-commits mailing list