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

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 9 02:16:07 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vls-2stage` running on `linaro-g3-02` while building `llvm` at step 12 "ninja check 2".

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

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

```
Step 12 (ninja check 2) failure: stage 2 checked (failure)
******************** TEST 'LLVM :: CodeGen/X86/optnone.mir' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/bin/llc -passes=machine-cse -debug-pass-manager /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/CodeGen/X86/optnone.mir -o - 2>&1 | /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/CodeGen/X86/optnone.mir
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/CodeGen/X86/optnone.mir
+ /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/stage2/bin/llc -passes=machine-cse -debug-pass-manager /home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/llvm/test/CodeGen/X86/optnone.mir -o -
/home/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/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/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/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/tcwg-buildbot/worker/clang-aarch64-sve-vls-2stage/llvm/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