Skip to content

[LV] Add VPlan printing test with casts converted to single scalar (NFC)#202200

Merged
fhahn merged 1 commit into
llvm:mainfrom
fhahn:lv-add-scalar-cast-test
Jun 7, 2026
Merged

[LV] Add VPlan printing test with casts converted to single scalar (NFC)#202200
fhahn merged 1 commit into
llvm:mainfrom
fhahn:lv-add-scalar-cast-test

Conversation

@fhahn
Copy link
Copy Markdown
Contributor

@fhahn fhahn commented Jun 7, 2026

Add test coverage for additional paths that can create single-scalar casts: sinkScalarOperands and induction optimization.

Add test coverage for additional paths that can create single-scalar
casts: sinkScalarOperands and induction optimization.
@fhahn fhahn added the skip-precommit-approval PR for CI feedback, not intended for review label Jun 7, 2026
@fhahn fhahn enabled auto-merge (squash) June 7, 2026 13:08
@fhahn fhahn disabled auto-merge June 7, 2026 14:42
@fhahn fhahn merged commit b1d1bb2 into llvm:main Jun 7, 2026
12 of 13 checks passed
@fhahn fhahn deleted the lv-add-scalar-cast-test branch June 7, 2026 14:46
@llvm-ci
Copy link
Copy Markdown

llvm-ci commented Jun 7, 2026

LLVM Buildbot has detected a new failure on builder lldb-aarch64-windows running on linaro-armv8-windows-msvc-05 while building llvm at step 6 "test".

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

Here is the relevant piece of the build log for the reference
Step 6 (test) failure: build (failure)
...
UNSUPPORTED: lldb-api :: lang/c/bitfields/TestBitfields.py (796 of 2543)
UNSUPPORTED: lldb-api :: lang/c/blocks/TestBlocks.py (797 of 2543)
PASS: lldb-api :: lang/c/anonymous/TestAnonymous.py (798 of 2543)
PASS: lldb-api :: lang/c/builtin-types/TestCBuiltinTypes.py (799 of 2543)
UNSUPPORTED: lldb-api :: lang/c/complex/TestComplexC99.py (800 of 2543)
UNSUPPORTED: lldb-api :: lang/c/complex_int/TestComplexInt.py (801 of 2543)
XFAIL: lldb-api :: lang/c/conflicting-symbol/TestConflictingSymbol.py (802 of 2543)
PASS: lldb-api :: lang/c/calling-conventions/TestCCallingConventions.py (803 of 2543)
UNSUPPORTED: lldb-api :: lang/c/cpp_keyword_identifiers/TestCppKeywordsAsCIdentifiers.py (804 of 2543)
XFAIL: lldb-api :: lang/c/const_variables/TestConstVariables.py (805 of 2543)
FAIL: lldb-api :: lang/c/enum_types/TestEnumTypes.py (806 of 2543)
******************** TEST 'lldb-api :: lang/c/enum_types/TestEnumTypes.py' FAILED ********************
Script:
--
C:/Users/tcwg/scoop/apps/python/current/python.exe C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./lib --env LLVM_INCLUDE_DIR=C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/include --env LLVM_TOOLS_DIR=C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin --triple aarch64-pc-windows-msvc --build-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/lldb-test-build.noindex --lldb-module-cache-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin/lldb.exe --compiler C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin/clang.exe --dsymutil C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin/dsymutil.exe --make C:/Users/tcwg/scoop/shims/make.exe --llvm-tools-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin --lldb-obj-root C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/tools/lldb --lldb-libs-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./lib --cmake-build-type Release --skip-category=watchpoint --env LLDB_LAUNCH_FLAG_USE_PIPES=1 C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\API\lang\c\enum_types -p TestEnumTypes.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project.git revision b1d1bb2ad2a272d2ddd41ae307b25aee420219ec)
  clang revision b1d1bb2ad2a272d2ddd41ae307b25aee420219ec
  llvm revision b1d1bb2ad2a272d2ddd41ae307b25aee420219ec
Skipping the following test categories: watchpoint, libc++, libstdcxx, dwo, dsym, gmodules, debugserver, objc, fork, pexpect


--
Command Output (stderr):
--
UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_api_dsym (TestEnumTypes.EnumTypesTestCase.test_api_dsym) (test case does not fall in any category of interest for this run) 

PASS: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_api_dwarf (TestEnumTypes.EnumTypesTestCase.test_api_dwarf)

UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_api_dwo (TestEnumTypes.EnumTypesTestCase.test_api_dwo) (test case does not fall in any category of interest for this run) 

UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_command_line_dsym (TestEnumTypes.EnumTypesTestCase.test_command_line_dsym) (test case does not fall in any category of interest for this run) 

FAIL: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_command_line_dwarf (TestEnumTypes.EnumTypesTestCase.test_command_line_dwarf)

Log Files:

 - C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\lldb-test-build.noindex\lang\c\enum_types\TestEnumTypes\Failure_test_command_line_dwarf.log

UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_command_line_dwo (TestEnumTypes.EnumTypesTestCase.test_command_line_dwo) (test case does not fall in any category of interest for this run) 

======================================================================

FAIL: test_command_line_dwarf (TestEnumTypes.EnumTypesTestCase.test_command_line_dwarf)


@llvm-ci
Copy link
Copy Markdown

llvm-ci commented Jun 7, 2026

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

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-bolt-check-bolt) failure: test (failure)
******************** TEST 'BOLT :: AArch64/compare-and-branch-inversion.S' FAILED ********************
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 9
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/clang  --target=x86_64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie -mllvm -x86-asm-syntax=att --target=aarch64-unknown-linux-gnu -nostartfiles -nostdlib -ffreestanding -Wl,-z,defs -march=armv9-a+cmpbr -Wl,-q /home/worker/bolt-worker2/llvm-project/bolt/test/AArch64/compare-and-branch-inversion.S -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp
# executed command: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/clang --target=x86_64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie -mllvm -x86-asm-syntax=att --target=aarch64-unknown-linux-gnu -nostartfiles -nostdlib -ffreestanding -Wl,-z,defs -march=armv9-a+cmpbr -Wl,-q /home/worker/bolt-worker2/llvm-project/bolt/test/AArch64/compare-and-branch-inversion.S -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp
# .---command stderr------------
# | ld.lld: warning: cannot find entry symbol _start; not setting start address
# `-----------------------------
# RUN: at line 10
/usr/bin/python3.10 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/bolt/test/link_fdata.py --no-lbr /home/worker/bolt-worker2/llvm-project/bolt/test/AArch64/compare-and-branch-inversion.S /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp.fdata
# executed command: /usr/bin/python3.10 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/llvm-project/bolt/test/link_fdata.py --no-lbr /home/worker/bolt-worker2/llvm-project/bolt/test/AArch64/compare-and-branch-inversion.S /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp.fdata
# note: command had no output on stdout or stderr
# RUN: at line 11
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/llvm-strip --strip-unneeded /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp
# executed command: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/llvm-strip --strip-unneeded /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp
# note: command had no output on stdout or stderr
# RUN: at line 13
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a -v=1 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp.bolt --data /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp.fdata --reorder-blocks=ext-tsp --compact-code-model    | /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/FileCheck /home/worker/bolt-worker2/llvm-project/bolt/test/AArch64/compare-and-branch-inversion.S --check-prefix=BOLT-INFO-NO-LIVENESS
# executed command: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a -v=1 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp.bolt --data /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp.fdata --reorder-blocks=ext-tsp --compact-code-model
# .---command stderr------------
# | BOLT-INFO: no .got section found
# `-----------------------------
# executed command: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/FileCheck /home/worker/bolt-worker2/llvm-project/bolt/test/AArch64/compare-and-branch-inversion.S --check-prefix=BOLT-INFO-NO-LIVENESS
# note: command had no output on stdout or stderr
# RUN: at line 15
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/llvm-objdump -d /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp.bolt | /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/FileCheck /home/worker/bolt-worker2/llvm-project/bolt/test/AArch64/compare-and-branch-inversion.S --check-prefix=COMMON --check-prefix=NO-LIVENESS
# executed command: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/llvm-objdump -d /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp.bolt
# note: command had no output on stdout or stderr
# executed command: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/FileCheck /home/worker/bolt-worker2/llvm-project/bolt/test/AArch64/compare-and-branch-inversion.S --check-prefix=COMMON --check-prefix=NO-LIVENESS
# note: command had no output on stdout or stderr
# RUN: at line 17
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a -v=1 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp.bolt --data /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp.fdata --reorder-blocks=ext-tsp --compact-code-model    --liveness-analysis | /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/FileCheck /home/worker/bolt-worker2/llvm-project/bolt/test/AArch64/compare-and-branch-inversion.S --check-prefix=BOLT-INFO-LIVENESS
# executed command: /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a -v=1 /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp -o /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp.bolt --data /home/worker/bolt-worker2/bolt-x86_64-ubuntu-shared/build/tools/bolt/test/AArch64/Output/compare-and-branch-inversion.S.tmp.fdata --reorder-blocks=ext-tsp --compact-code-model --liveness-analysis
# .---command stderr------------
# | BOLT-INFO: no .got section found
# | double free or corruption (out)
# | 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):
# | 0  libLLVMSupport.so.23.0git 0x0000787ba60ea330 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 240
# | 1  libLLVMSupport.so.23.0git 0x0000787ba60e6efc llvm::sys::RunSignalHandlers() + 76
# | 2  libLLVMSupport.so.23.0git 0x0000787ba60e7062
# | 3  libc.so.6                 0x0000787ba5642520
# | 4  libc.so.6                 0x0000787ba56969fc pthread_kill + 300
# | 5  libc.so.6                 0x0000787ba5642476 raise + 22
# | 6  libc.so.6                 0x0000787ba56287f3 abort + 211
# | 7  libc.so.6                 0x0000787ba5689677
# | 8  libc.so.6                 0x0000787ba56a0cfc
# | 9  libc.so.6                 0x0000787ba56a2e70
...

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

Labels

llvm:transforms skip-precommit-approval PR for CI feedback, not intended for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants