Skip to content

Reapply "[VPlan] Use VPInstructionWithType for uniform casts." (#202427)#203057

Merged
fhahn merged 1 commit into
llvm:mainfrom
fhahn:reapply-vpinstructionwithtype-cast
Jun 10, 2026
Merged

Reapply "[VPlan] Use VPInstructionWithType for uniform casts." (#202427)#203057
fhahn merged 1 commit into
llvm:mainfrom
fhahn:reapply-vpinstructionwithtype-cast

Conversation

@fhahn

@fhahn fhahn commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

This reverts commit 5eae7dc.

@github-actions

Copy link
Copy Markdown

🐧 Linux x64 Test Results

  • 175356 tests passed
  • 3465 tests skipped
  • 3 tests failed

Failed Tests

(click on a test name to see its output)

Flang

Flang.Driver/code-object-version.f90
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang  -target amdgcn-amd-amdhsa -target-cpu gfx908 -mcode-object-version=3  -S  /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/code-object-version.f90 -o    /dev/null 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck  --check-prefix=INVALID_VERSION /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/code-object-version.f90
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang -target amdgcn-amd-amdhsa -target-cpu gfx908 -mcode-object-version=3 -S /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/code-object-version.f90 -o /dev/null
# note: command had no output on stdout or stderr
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=INVALID_VERSION /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/code-object-version.f90
# note: command had no output on stdout or stderr

--

Flang.Driver/target-cpu-features.f90
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-linux-gnu -mcpu=cortex-a57 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-A57
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-linux-gnu -mcpu=cortex-a57 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-A57
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-linux-gnu -mcpu=cortex-a76 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-A76
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-linux-gnu -mcpu=cortex-a76 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-A76
# note: command had no output on stdout or stderr
# RUN: at line 10
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-linux-gnu -march=armv9 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-ARMV9
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=aarch64-linux-gnu -march=armv9 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-ARMV9
# note: command had no output on stdout or stderr
# RUN: at line 14
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -mcpu=cortex-a57 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-NO-A57
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -mcpu=cortex-a57 -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-NO-A57
# note: command had no output on stdout or stderr
# RUN: at line 17
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -march=skylake -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-SKYLAKE
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -march=skylake -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-SKYLAKE
# note: command had no output on stdout or stderr
# RUN: at line 20
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -mapx-features=egpr -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-APX
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -mapx-features=egpr -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-APX
# note: command had no output on stdout or stderr
# RUN: at line 23
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -mno-apx-features=ccmp -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-NO-APX
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64-linux-gnu -mno-apx-features=ccmp -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-NO-APX
# note: command had no output on stdout or stderr
# RUN: at line 26
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64h-linux-gnu -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-X86_64H
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=x86_64h-linux-gnu -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-X86_64H
# note: command had no output on stdout or stderr
# RUN: at line 29
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=riscv64-linux-gnu -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-RV64
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=riscv64-linux-gnu -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-RV64
# note: command had no output on stdout or stderr
# RUN: at line 32
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx908 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 2>&1  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-AMDGPU
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx908 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -check-prefix=CHECK-AMDGPU
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90:79:17: error: CHECK-AMDGPU: expected string not found in input
# | ! CHECK-AMDGPU: "-fc1" "-triple" "amdgcn-amd-amdhsa"
# |                 ^
# | <stdin>:1:1: note: scanning from here
# | flang version 23.0.0git (https://github.com/llvm/llvm-project dfaccb4f4c6875ca02e0f93486b8dd2c5cc121d2)
# | ^
# | <stdin>:9:87: note: possible intended match here
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx908 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -###
# |                                                                                       ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: flang version 23.0.0git (https://github.com/llvm/llvm-project dfaccb4f4c6875ca02e0f93486b8dd2c5cc121d2) 
# | check:79'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |             2: Target: amdgcn-amd-amdhsa 
# | check:79'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             3: Thread model: posix 
# | check:79'0     ~~~~~~~~~~~~~~~~~~~~
# |             4: InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin 
# | check:79'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             5: Build config: +assertions 
# | check:79'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             6: flang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/ToolChains/AMDGPU.cpp:845: virtual void clang::driver::toolchains::AMDGPUToolChain::addClangTargetOptions(const llvm::opt::ArgList &, llvm::opt::ArgStringList &, llvm::StringRef, Action::OffloadKind) const: Assertion `DeviceOffloadingKind == Action::OFK_None && BoundArch.empty() && "this toolchain is for non-offloading cases"' failed. 
# | check:79'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             7: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug. 
# | check:79'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             8: Stack dump: 
# | check:79'0     ~~~~~~~~~~~~
# |             9: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx908 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-cpu-features.f90 -### 
# | check:79'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:79'1                                                                                           ?                                                                                                                                                                      possible intended match
# |            10: 1. Compilation construction 
# | check:79'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            11: 2. Building compilation jobs 
# | check:79'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            12: 3. Building compilation jobs 
# | check:79'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            13:  #0 0x00000000094aa0d8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:881:13 
# | check:79'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            14:  #1 0x00000000094a6f31 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 
# | check:79'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

Flang.Driver/target-gpu-features.f90
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx902  -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90 -### 2>&1  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90 -check-prefix=CHECK-AMDGCN
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx902 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90 '-###'
# note: command had no output on stdout or stderr
# error: command failed with exit status: -6
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90 -check-prefix=CHECK-AMDGCN
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90:9:17: error: CHECK-AMDGCN: expected string not found in input
# | ! CHECK-AMDGCN: "-fc1" "-triple" "amdgcn-amd-amdhsa"
# |                 ^
# | <stdin>:1:1: note: scanning from here
# | flang version 23.0.0git (https://github.com/llvm/llvm-project dfaccb4f4c6875ca02e0f93486b8dd2c5cc121d2)
# | ^
# | <stdin>:9:87: note: possible intended match here
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx902 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90 -###
# |                                                                                       ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: flang version 23.0.0git (https://github.com/llvm/llvm-project dfaccb4f4c6875ca02e0f93486b8dd2c5cc121d2) 
# | check:9'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            2: Target: amdgcn-amd-amdhsa 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            3: Thread model: posix 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~
# |            4: InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            5: Build config: +assertions 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            6: flang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/ToolChains/AMDGPU.cpp:845: virtual void clang::driver::toolchains::AMDGPUToolChain::addClangTargetOptions(const llvm::opt::ArgList &, llvm::opt::ArgStringList &, llvm::StringRef, Action::OffloadKind) const: Assertion `DeviceOffloadingKind == Action::OFK_None && BoundArch.empty() && "this toolchain is for non-offloading cases"' failed. 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            7: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug. 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            8: Stack dump: 
# | check:9'0     ~~~~~~~~~~~~
# |            9: 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/flang --target=amdgcn-amd-amdhsa -mcpu=gfx902 -nogpulib -c /home/gha/actions-runner/_work/llvm-project/llvm-project/flang/test/Driver/target-gpu-features.f90 -### 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:9'1                                                                                           ?                                                                                                                                                                      possible intended match
# |           10: 1. Compilation construction 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           11: 2. Building compilation jobs 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           12: 3. Building compilation jobs 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           13:  #0 0x00000000094aa0d8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:881:13 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           14:  #1 0x00000000094a6f31 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18 
# | check:9'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the infrastructure label.

@fhahn fhahn merged commit 054a840 into llvm:main Jun 10, 2026
13 of 15 checks passed
Jianhui-Li pushed a commit to Jianhui-Li/llvm-project that referenced this pull request Jun 11, 2026
…202427) (llvm#203057)

This reverts commit 5eae7dc.

Recommitted version moved out ::getAsRecipe to the .cpp to avoid
https://lab.llvm.org/buildbot/#/builders/160 build failures.

Original message:
Use VPInstructionWithType instead of VPReplicate recipe for uniform
casts. This is a first step towards breaking up VPReplicateRecipe. Using
the general VPInstructionWithType has the additional benefit that we can
now apply a number of simplifications directly.

Depends on llvm#140621

PR: llvm#140623
carlobertolli pushed a commit to carlobertolli/llvm-project that referenced this pull request Jun 11, 2026
…202427) (llvm#203057)

This reverts commit 5eae7dc.

Recommitted version moved out ::getAsRecipe to the .cpp to avoid
https://lab.llvm.org/buildbot/#/builders/160 build failures.

Original message:
Use VPInstructionWithType instead of VPReplicate recipe for uniform
casts. This is a first step towards breaking up VPReplicateRecipe. Using
the general VPInstructionWithType has the additional benefit that we can
now apply a number of simplifications directly.

Depends on llvm#140621

PR: llvm#140623
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant