Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

justinfargnoli
Copy link
Contributor

No description provided.

Copy link
Contributor

@AidanGoldfarb AidanGoldfarb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@llvmbot
Copy link
Member

llvmbot commented Feb 1, 2025

@llvm/pr-subscribers-backend-nvptx

Author: Justin Fargnoli (justinfargnoli)

Changes

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

1 Files Affected:

  • (modified) llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp (+1-1)
diff --git a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
index 773c97f7b4dc0f..9e7e1dbcea25d1 100644
--- a/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
@@ -286,7 +286,7 @@ static void ComputePTXValueVTs(const TargetLowering &TLI, const DataLayout &DL,
     if (VT.isVector()) {
       unsigned NumElts = VT.getVectorNumElements();
       EVT EltVT = VT.getVectorElementType();
-      // We require power-of-2 sized vectors becuase
+      // We require power-of-2 sized vectors because
       // TargetLoweringBase::getVectorTypeBreakdown() which is invoked in
       // ComputePTXValueVTs() cannot currently break down non-power-of-2 sized
       // vectors.

@justinfargnoli justinfargnoli merged commit 32d7211 into llvm:main Feb 1, 2025
7 of 10 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 1, 2025

LLVM Buildbot has detected a new failure on builder openmp-offload-libc-amdgpu-runtime running on omp-vega20-1 while building llvm at step 7 "Add check check-offload".

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

Here is the relevant piece of the build log for the reference
Step 7 (Add check check-offload) failure: test (failure)
******************** TEST 'libomptarget :: amdgcn-amd-amdhsa :: libc/global_ctor_dtor.cpp' FAILED ********************
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang++ -fopenmp    -I /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test -I /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src  -nogpulib -Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib  -fopenmp-targets=amdgcn-amd-amdhsa /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/libc/global_ctor_dtor.cpp -o /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/libc/Output/global_ctor_dtor.cpp.tmp -Xoffload-linker -lc -Xoffload-linker -lm /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a && /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/libc/Output/global_ctor_dtor.cpp.tmp | /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/libc/global_ctor_dtor.cpp
# executed command: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/clang++ -fopenmp -I /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test -I /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib -L /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -nogpulib -Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload -Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/openmp/runtime/src -Wl,-rpath,/home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib -fopenmp-targets=amdgcn-amd-amdhsa /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/libc/global_ctor_dtor.cpp -o /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/libc/Output/global_ctor_dtor.cpp.tmp -Xoffload-linker -lc -Xoffload-linker -lm /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./lib/libomptarget.devicertl.a
# executed command: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/runtimes/runtimes-bins/offload/test/amdgcn-amd-amdhsa/libc/Output/global_ctor_dtor.cpp.tmp
# note: command had no output on stdout or stderr
# error: command failed with exit status: -11
# executed command: /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/libc/global_ctor_dtor.cpp
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.build/./bin/FileCheck /home/ompworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm.src/offload/test/libc/global_ctor_dtor.cpp
# `-----------------------------
# error: command failed with exit status: 2

--

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


@llvm-ci
Copy link
Collaborator

llvm-ci commented Feb 1, 2025

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

Here is the relevant piece of the build log for the reference
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@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): 
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants