[llvm] [AMDGPU] Add custom lowering of llvm.convert.from.arbitrary.fp for FP8 (PR #194144)

via llvm-commits llvm-commits at lists.llvm.org
Sun May 3 15:08:39 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 173566 tests passed
* 3288 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.TableGen/GlobalISelEmitter/GlobalISelEmitter.td</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common -optimize-match-table=false /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common -optimize-match-table=false /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common -optimize-match-table=true  /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.optimized.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common -optimize-match-table=true /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.optimized.cpp
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.default.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.default.cpp
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common -gisel-extended-llt  /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.extended-llt.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-tblgen -gen-global-isel -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../../../include -I /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/../Common -gisel-extended-llt /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.extended-llt.cpp
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td --check-prefixes=CHECK,R19C,R19N -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td --check-prefixes=CHECK,R19C,R19N -input-file=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td:213:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: return Imm == APFloatBase::S_Float8E4M3FN;
# |                ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp:168:2: note: 'next' match was here
# |  return Imm == APFloatBase::S_Float8E4M3FN;
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp:166:46: note: previous match ended here
# |  case GICXXPred_I64_Predicate_Float8E4M3FN: {
# |                                              ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp:167:1: note: non-matching line after previous match is here
# |  
# | ^
# | 
# | Input file: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/TableGen/GlobalISelEmitter/Output/GlobalISelEmitter.td.tmp.non-optimized.cpp
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |           .
# |           .
# |           .
# |         163: }; 
# |         164: bool MyTargetInstructionSelector::testImmPredicate_I64(unsigned PredicateID, int64_t Imm) const { 
# |         165:  switch (PredicateID) { 
# |         166:  case GICXXPred_I64_Predicate_Float8E4M3FN: { 
# |         167:   
# |         168:  return Imm == APFloatBase::S_Float8E4M3FN; 
# | next:213      !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         169:   
# |         170:  } 
# |         171:  case GICXXPred_I64_Predicate_Float8E5M2: { 
# |         172:   
# |         173:  return Imm == APFloatBase::S_Float8E5M2; 
# |           .
# |           .
# |           .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

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.

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


More information about the llvm-commits mailing list