[llvm] [NVPTX] Fix typo in `NVPTXISelLowering.cpp` (NFC) (PR #125333)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 31 21:45:45 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `bolt-x86_64-ubuntu-nfc` running on `bolt-worker` while building `llvm` at step 8 "test-build-bolt-check-bolt".

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

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

```
Step 8 (test-build-bolt-check-bolt) failure: test (failure)
******************** TEST 'BOLT :: X86/callcont-fallthru.s' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/clang --driver-mode=g++  --target=x86_64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie --target=x86_64-unknown-linux-gnu -nostdlib /home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp -Wl,-q -nostdlib
+ /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/clang --driver-mode=g++ --target=x86_64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie --target=x86_64-unknown-linux-gnu -nostdlib /home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp -Wl,-q -nostdlib
ld.lld: warning: cannot find entry symbol _start; not setting start address
RUN: at line 5: /usr/bin/python3.10 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/bolt/test/link_fdata.py /home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.pa1 PREAGG
+ /usr/bin/python3.10 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/bolt/test/link_fdata.py /home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.pa1 PREAGG
RUN: at line 6: /usr/bin/python3.10 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/bolt/test/link_fdata.py /home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.pa2 PREAGG2
+ /usr/bin/python3.10 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/bolt/test/link_fdata.py /home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.pa2 PREAGG2
RUN: at line 7: /usr/bin/python3.10 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/bolt/test/link_fdata.py /home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.pa3 PREAGG3
+ /usr/bin/python3.10 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/bolt/test/link_fdata.py /home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.pa3 PREAGG3
RUN: at line 8: /usr/bin/python3.10 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/bolt/test/link_fdata.py /home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.pa4 PREAGG4
+ /usr/bin/python3.10 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/bolt/test/link_fdata.py /home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.pa4 PREAGG4
RUN: at line 11: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-strip --strip-unneeded /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.exe
+ /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-strip --strip-unneeded /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.exe
RUN: at line 12: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.exe --pa -p /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.pa1 -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.out    --print-cfg --print-only=main | /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/FileCheck /home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s
+ /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.exe --pa -p /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.pa1 -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.out --print-cfg --print-only=main
+ /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/FileCheck /home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-bolt: WARNING: reading perf data directly is unsupported, please use -aggregate-only or perf2bolt.
!!! Proceed on your own risk. !!!
BOLT-INFO: no .got section found
/home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s:54:10: error: CHECK: expected string not found in input
# CHECK: callq puts at PLT
         ^
<stdin>:1:1: note: scanning from here
BOLT-INFO: shared object or position-independent executable detected
^
<stdin>:46:12: note: possible intended match here
 00000016: callq FUNCat0x0 # handler: .Ltmp2; action: 0
           ^

Input file: <stdin>
Check file: /home/worker/bolt-worker2/llvm-project/bolt/test/X86/callcont-fallthru.s

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

Input was:
<<<<<<
            1: BOLT-INFO: shared object or position-independent executable detected 
check:54'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
            2: PERF2BOLT: Starting data aggregation job for /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/callcont-fallthru.s.tmp.pa1 
check:54'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            3: BOLT-INFO: Target architecture: x86_64 
check:54'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            4: BOLT-INFO: BOLT version: 32d7211ae6d0c36d69d7d2793889fbbc9cf2d655 
check:54'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            5: BOLT-INFO: first alloc address is 0x0 
...
Step 12 (nfc-check-bolt) failure: NFC check-bolt completed (failure)
******************** TEST 'BOLT :: X86/cfi-instrs-reordered.s' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 4: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-mc -filetype=obj -triple x86_64-unknown-unknown /home/worker/bolt-worker2/llvm-project/bolt/test/X86/cfi-instrs-reordered.s -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/cfi-instrs-reordered.s.tmp.o
+ /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-mc -filetype=obj -triple x86_64-unknown-unknown /home/worker/bolt-worker2/llvm-project/bolt/test/X86/cfi-instrs-reordered.s -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/cfi-instrs-reordered.s.tmp.o
RUN: at line 5: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-strip --strip-unneeded /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/cfi-instrs-reordered.s.tmp.o
+ /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-strip --strip-unneeded /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/cfi-instrs-reordered.s.tmp.o
RUN: at line 6: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/clang --driver-mode=g++  --target=x86_64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie --target=x86_64-unknown-linux-gnu -nostdlib /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/cfi-instrs-reordered.s.tmp.o -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/cfi-instrs-reordered.s.tmp.exe
+ /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/clang --driver-mode=g++ --target=x86_64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie --target=x86_64-unknown-linux-gnu -nostdlib /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/cfi-instrs-reordered.s.tmp.o -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/cfi-instrs-reordered.s.tmp.exe
ld.lld: warning: cannot find entry symbol _start; not setting start address
RUN: at line 7: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/cfi-instrs-reordered.s.tmp.exe -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/cfi-instrs-reordered.s.tmp --reorder-blocks=cache --print-after-lowering    --print-only=_Z10SolveCubicddddPiPd 2>&1 | /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/FileCheck /home/worker/bolt-worker2/llvm-project/bolt/test/X86/cfi-instrs-reordered.s
+ /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/cfi-instrs-reordered.s.tmp.exe -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/tools/bolt/test/X86/Output/cfi-instrs-reordered.s.tmp --reorder-blocks=cache --print-after-lowering --print-only=_Z10SolveCubicddddPiPd
+ /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/FileCheck /home/worker/bolt-worker2/llvm-project/bolt/test/X86/cfi-instrs-reordered.s
/home/worker/bolt-worker2/llvm-project/bolt/test/X86/cfi-instrs-reordered.s:11:10: error: CHECK: expected string not found in input
# CHECK: divsd %xmm0, %xmm1
         ^
<stdin>:1:1: note: scanning from here
BOLT-INFO: shared object or position-independent executable detected
^
<stdin>:4:26: note: possible intended match here
BOLT-INFO: first alloc address is 0x0
                         ^

Input file: <stdin>
Check file: /home/worker/bolt-worker2/llvm-project/bolt/test/X86/cfi-instrs-reordered.s

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

Input was:
<<<<<<
            1: BOLT-INFO: shared object or position-independent executable detected 
check:11'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
            2: BOLT-INFO: Target architecture: x86_64 
check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            3: BOLT-INFO: BOLT version: 994cea3f0a2d0caf4d66321ad5a06ab330144d89 
check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            4: BOLT-INFO: first alloc address is 0x0 
check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:11'1                              ?             possible intended match
            5: BOLT-INFO: creating new program header table at address 0x200000, offset 0x200000 
check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            6: BOLT-INFO: enabling lite mode 
check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            7: BOLT-WARNING: zero-sized top level symbol: (object: DATAat0x28d, 0x28d:0x28d/0/1/0x0) 
check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            8: llvm-bolt.old: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/bolt/lib/Core/BinaryContext.cpp:1413: void llvm::bolt::BinaryContext::postProcessSymbolTable(): Assertion `Valid' failed. 
check:11'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            9: Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 
...

```

</details>

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


More information about the llvm-commits mailing list