Skip to content

[Remarks] Elaborate on called intrinsics #143985

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 4 commits into from
Jun 17, 2025

Conversation

jroelofs
Copy link
Contributor

No description provided.

@llvmbot
Copy link
Member

llvmbot commented Jun 12, 2025

@llvm/pr-subscribers-llvm-ir

Author: Jon Roelofs (jroelofs)

Changes

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

2 Files Affected:

  • (modified) llvm/lib/IR/DiagnosticInfo.cpp (+4)
  • (modified) llvm/test/Transforms/GVN/opt-remarks.ll (+22)
diff --git a/llvm/lib/IR/DiagnosticInfo.cpp b/llvm/lib/IR/DiagnosticInfo.cpp
index 0f1291b8bd8be..b94dcace5e3c7 100644
--- a/llvm/lib/IR/DiagnosticInfo.cpp
+++ b/llvm/lib/IR/DiagnosticInfo.cpp
@@ -25,6 +25,7 @@
 #include "llvm/IR/GlobalValue.h"
 #include "llvm/IR/Instruction.h"
 #include "llvm/IR/Instructions.h"
+#include "llvm/IR/IntrinsicInst.h"
 #include "llvm/IR/LLVMContext.h"
 #include "llvm/IR/Metadata.h"
 #include "llvm/IR/Module.h"
@@ -211,6 +212,9 @@ DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key,
   else if (isa<Constant>(V)) {
     raw_string_ostream OS(Val);
     V->printAsOperand(OS, /*PrintType=*/false);
+  } else if (auto *II = dyn_cast<IntrinsicInst>(V)) {
+    raw_string_ostream OS(Val);
+    OS << "call " << II->getCalledFunction()->getName();
   } else if (auto *I = dyn_cast<Instruction>(V)) {
     Val = I->getOpcodeName();
   } else if (auto *MD = dyn_cast<MetadataAsValue>(V)) {
diff --git a/llvm/test/Transforms/GVN/opt-remarks.ll b/llvm/test/Transforms/GVN/opt-remarks.ll
index 7c3f16917bc97..8fb2d5756f95d 100644
--- a/llvm/test/Transforms/GVN/opt-remarks.ll
+++ b/llvm/test/Transforms/GVN/opt-remarks.ll
@@ -62,6 +62,19 @@
 ; YAML-NEXT:   - ClobberedBy:     store
 ; YAML-NEXT:     DebugLoc:        { File: '/tmp/s.c', Line: 2, Column: 10 }
 ; YAML-NEXT: ...
+; YAML-NEXT: --- !Missed
+; YAML-NEXT: Pass:            gvn
+; YAML-NEXT: Name:            LoadClobbered
+; YAML-NEXT: Function:        lifetime_end
+; YAML-NEXT: Args:
+; YAML-NEXT:   - String:          'load of type '
+; YAML-NEXT:   - Type:            i8
+; YAML-NEXT:   - String:          ' not eliminated'
+; YAML-NEXT:   - String:          ' in favor of '
+; YAML-NEXT:   - OtherAccess:     store
+; YAML-NEXT:   - String:          ' because it is clobbered by '
+; YAML-NEXT:   - ClobberedBy:     call llvm.lifetime.end.p0
+; YAML-NEXT: ...
 
 define i32 @arg(ptr %p, i32 %i) {
 entry:
@@ -93,6 +106,15 @@ entry:
   %add = add i32 %load1, %load
   ret i32 %add
 }
+
+define i8 @lifetime_end(ptr %p, i8 %val) {
+  call void @llvm.lifetime.start.p0(i64 32, ptr %p)
+  store i8 %val, ptr %p
+  call void @llvm.lifetime.end.p0(i64 32, ptr %p)
+  %1 = load i8, ptr %p
+  ret i8 %1
+}
+
 !llvm.dbg.cu = !{!0}
 !llvm.module.flags = !{!3, !4, !5}
 !llvm.ident = !{!6}

@llvmbot
Copy link
Member

llvmbot commented Jun 12, 2025

@llvm/pr-subscribers-llvm-transforms

Author: Jon Roelofs (jroelofs)

Changes

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

2 Files Affected:

  • (modified) llvm/lib/IR/DiagnosticInfo.cpp (+4)
  • (modified) llvm/test/Transforms/GVN/opt-remarks.ll (+22)
diff --git a/llvm/lib/IR/DiagnosticInfo.cpp b/llvm/lib/IR/DiagnosticInfo.cpp
index 0f1291b8bd8be..b94dcace5e3c7 100644
--- a/llvm/lib/IR/DiagnosticInfo.cpp
+++ b/llvm/lib/IR/DiagnosticInfo.cpp
@@ -25,6 +25,7 @@
 #include "llvm/IR/GlobalValue.h"
 #include "llvm/IR/Instruction.h"
 #include "llvm/IR/Instructions.h"
+#include "llvm/IR/IntrinsicInst.h"
 #include "llvm/IR/LLVMContext.h"
 #include "llvm/IR/Metadata.h"
 #include "llvm/IR/Module.h"
@@ -211,6 +212,9 @@ DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key,
   else if (isa<Constant>(V)) {
     raw_string_ostream OS(Val);
     V->printAsOperand(OS, /*PrintType=*/false);
+  } else if (auto *II = dyn_cast<IntrinsicInst>(V)) {
+    raw_string_ostream OS(Val);
+    OS << "call " << II->getCalledFunction()->getName();
   } else if (auto *I = dyn_cast<Instruction>(V)) {
     Val = I->getOpcodeName();
   } else if (auto *MD = dyn_cast<MetadataAsValue>(V)) {
diff --git a/llvm/test/Transforms/GVN/opt-remarks.ll b/llvm/test/Transforms/GVN/opt-remarks.ll
index 7c3f16917bc97..8fb2d5756f95d 100644
--- a/llvm/test/Transforms/GVN/opt-remarks.ll
+++ b/llvm/test/Transforms/GVN/opt-remarks.ll
@@ -62,6 +62,19 @@
 ; YAML-NEXT:   - ClobberedBy:     store
 ; YAML-NEXT:     DebugLoc:        { File: '/tmp/s.c', Line: 2, Column: 10 }
 ; YAML-NEXT: ...
+; YAML-NEXT: --- !Missed
+; YAML-NEXT: Pass:            gvn
+; YAML-NEXT: Name:            LoadClobbered
+; YAML-NEXT: Function:        lifetime_end
+; YAML-NEXT: Args:
+; YAML-NEXT:   - String:          'load of type '
+; YAML-NEXT:   - Type:            i8
+; YAML-NEXT:   - String:          ' not eliminated'
+; YAML-NEXT:   - String:          ' in favor of '
+; YAML-NEXT:   - OtherAccess:     store
+; YAML-NEXT:   - String:          ' because it is clobbered by '
+; YAML-NEXT:   - ClobberedBy:     call llvm.lifetime.end.p0
+; YAML-NEXT: ...
 
 define i32 @arg(ptr %p, i32 %i) {
 entry:
@@ -93,6 +106,15 @@ entry:
   %add = add i32 %load1, %load
   ret i32 %add
 }
+
+define i8 @lifetime_end(ptr %p, i8 %val) {
+  call void @llvm.lifetime.start.p0(i64 32, ptr %p)
+  store i8 %val, ptr %p
+  call void @llvm.lifetime.end.p0(i64 32, ptr %p)
+  %1 = load i8, ptr %p
+  ret i8 %1
+}
+
 !llvm.dbg.cu = !{!0}
 !llvm.module.flags = !{!3, !4, !5}
 !llvm.ident = !{!6}

Copy link
Contributor

@fhahn fhahn left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@jroelofs jroelofs merged commit 526310e into llvm:main Jun 17, 2025
5 of 7 checks passed
@jroelofs jroelofs deleted the jroelofs/gvn-remarks branch June 17, 2025 17:10
@llvm-ci
Copy link
Collaborator

llvm-ci commented Jun 17, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-dev-x86-64 running on ml-opt-dev-x86-64-b1 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr='+v' -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' -verify-machineinstrs /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /b/ml-opt-dev-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out 2> /b/ml-opt-dev-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 1
+ /b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr=+v -O0 -global-isel -global-isel-abort=2 '-pass-remarks-missed=gisel*' -verify-machineinstrs /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /b/ml-opt-dev-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out
/b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT < /b/ml-opt-dev-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out # RUN: at line 2
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT
/b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR < /b/ml-opt-dev-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 3
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll:25:29: error: FALLBACK-WITH-REPORT-ERR: expected string not found in input
; FALLBACK-WITH-REPORT-ERR: remark: <unknown>:0:0: unable to translate instruction: call:
                            ^
<stdin>:1:1: note: scanning from here
remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg)
^

Input file: <stdin>
Check file: /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll

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

Input was:
<<<<<<
          1: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg) 
check:25     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
          2: warning: Instruction selection used fallback path for scalable_arg 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          3: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> undef, <vscale x 1 x i8> undef, i64 %0)' (in function: scalable_inst) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          4: warning: Instruction selection used fallback path for scalable_inst 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          5: remark: <unknown>:0:0: unable to translate instruction: alloca: ' %local0 = alloca <vscale x 16 x i8>, align 16' (in function: scalable_alloca) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          6: warning: Instruction selection used fallback path for scalable_alloca 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

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


@llvm-ci
Copy link
Collaborator

llvm-ci commented Jun 17, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-devrel-x86-64 running on ml-opt-devrel-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr='+v' -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' -verify-machineinstrs /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /b/ml-opt-devrel-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out 2> /b/ml-opt-devrel-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 1
+ /b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr=+v -O0 -global-isel -global-isel-abort=2 '-pass-remarks-missed=gisel*' -verify-machineinstrs /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /b/ml-opt-devrel-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out
/b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT < /b/ml-opt-devrel-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out # RUN: at line 2
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT
/b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR < /b/ml-opt-devrel-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 3
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll:25:29: error: FALLBACK-WITH-REPORT-ERR: expected string not found in input
; FALLBACK-WITH-REPORT-ERR: remark: <unknown>:0:0: unable to translate instruction: call:
                            ^
<stdin>:1:1: note: scanning from here
remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg)
^

Input file: <stdin>
Check file: /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll

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

Input was:
<<<<<<
          1: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg) 
check:25     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
          2: warning: Instruction selection used fallback path for scalable_arg 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          3: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> undef, <vscale x 1 x i8> undef, i64 %0)' (in function: scalable_inst) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          4: warning: Instruction selection used fallback path for scalable_inst 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          5: remark: <unknown>:0:0: unable to translate instruction: alloca: ' %local0 = alloca <vscale x 16 x i8>, align 16' (in function: scalable_alloca) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          6: warning: Instruction selection used fallback path for scalable_alloca 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

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


@llvm-ci
Copy link
Collaborator

llvm-ci commented Jun 17, 2025

LLVM Buildbot has detected a new failure on builder lld-x86_64-ubuntu-fast running on as-builder-4 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=riscv64 -mattr='+v' -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' -verify-machineinstrs /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out 2> /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 1
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=riscv64 -mattr=+v -O0 -global-isel -global-isel-abort=2 '-pass-remarks-missed=gisel*' -verify-machineinstrs /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT < /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out # RUN: at line 2
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR < /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 3
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll:25:29: error: FALLBACK-WITH-REPORT-ERR: expected string not found in input
; FALLBACK-WITH-REPORT-ERR: remark: <unknown>:0:0: unable to translate instruction: call:
                            ^
<stdin>:1:1: note: scanning from here
remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg)
^

Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll

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

Input was:
<<<<<<
          1: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg) 
check:25     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
          2: warning: Instruction selection used fallback path for scalable_arg 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          3: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> undef, <vscale x 1 x i8> undef, i64 %0)' (in function: scalable_inst) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          4: warning: Instruction selection used fallback path for scalable_inst 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          5: remark: <unknown>:0:0: unable to translate instruction: alloca: ' %local0 = alloca <vscale x 16 x i8>, align 16' (in function: scalable_alloca) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          6: warning: Instruction selection used fallback path for scalable_alloca 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

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


@jroelofs
Copy link
Contributor Author

folllow-up in 4943e74

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jun 17, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-rel-x86-64 running on ml-opt-rel-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr='+v' -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' -verify-machineinstrs /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /b/ml-opt-rel-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out 2> /b/ml-opt-rel-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 1
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -mattr=+v -O0 -global-isel -global-isel-abort=2 '-pass-remarks-missed=gisel*' -verify-machineinstrs /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /b/ml-opt-rel-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out
/b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT < /b/ml-opt-rel-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out # RUN: at line 2
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT
/b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR < /b/ml-opt-rel-x86-64-b1/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 3
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll:25:29: error: FALLBACK-WITH-REPORT-ERR: expected string not found in input
; FALLBACK-WITH-REPORT-ERR: remark: <unknown>:0:0: unable to translate instruction: call:
                            ^
<stdin>:1:1: note: scanning from here
remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg)
^

Input file: <stdin>
Check file: /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll

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

Input was:
<<<<<<
          1: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg) 
check:25     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
          2: warning: Instruction selection used fallback path for scalable_arg 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          3: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> undef, <vscale x 1 x i8> undef, i64 %0)' (in function: scalable_inst) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          4: warning: Instruction selection used fallback path for scalable_inst 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          5: remark: <unknown>:0:0: unable to translate instruction: alloca: ' %local0 = alloca <vscale x 16 x i8>, align 16' (in function: scalable_alloca) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          6: warning: Instruction selection used fallback path for scalable_alloca 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

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


@llvm-ci
Copy link
Collaborator

llvm-ci commented Jun 17, 2025

LLVM Buildbot has detected a new failure on builder premerge-monolithic-linux running on premerge-linux-1 while building llvm at step 7 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/build/buildbot/premerge-monolithic-linux/build/bin/llc -mtriple=riscv64 -mattr='+v' -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' -verify-machineinstrs /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /build/buildbot/premerge-monolithic-linux/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out 2> /build/buildbot/premerge-monolithic-linux/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 1
+ /build/buildbot/premerge-monolithic-linux/build/bin/llc -mtriple=riscv64 -mattr=+v -O0 -global-isel -global-isel-abort=2 '-pass-remarks-missed=gisel*' -verify-machineinstrs /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /build/buildbot/premerge-monolithic-linux/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out
/build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT < /build/buildbot/premerge-monolithic-linux/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out # RUN: at line 2
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT
/build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR < /build/buildbot/premerge-monolithic-linux/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 3
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll:25:29: error: FALLBACK-WITH-REPORT-ERR: expected string not found in input
; FALLBACK-WITH-REPORT-ERR: remark: <unknown>:0:0: unable to translate instruction: call:
                            ^
<stdin>:1:1: note: scanning from here
remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg)
^

Input file: <stdin>
Check file: /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll

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

Input was:
<<<<<<
          1: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg) 
check:25     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
          2: warning: Instruction selection used fallback path for scalable_arg 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          3: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> undef, <vscale x 1 x i8> undef, i64 %0)' (in function: scalable_inst) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          4: warning: Instruction selection used fallback path for scalable_inst 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          5: remark: <unknown>:0:0: unable to translate instruction: alloca: ' %local0 = alloca <vscale x 16 x i8>, align 16' (in function: scalable_alloca) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          6: warning: Instruction selection used fallback path for scalable_alloca 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

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


@llvm-ci
Copy link
Collaborator

llvm-ci commented Jun 17, 2025

LLVM Buildbot has detected a new failure on builder llvm-x86_64-debian-dylib running on gribozavr4 while building llvm at step 7 "test-build-unified-tree-check-llvm".

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

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=riscv64 -mattr='+v' -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' -verify-machineinstrs /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /b/1/llvm-x86_64-debian-dylib/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out 2> /b/1/llvm-x86_64-debian-dylib/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 1
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=riscv64 -mattr=+v -O0 -global-isel -global-isel-abort=2 '-pass-remarks-missed=gisel*' -verify-machineinstrs /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /b/1/llvm-x86_64-debian-dylib/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out
/b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT < /b/1/llvm-x86_64-debian-dylib/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out # RUN: at line 2
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT
/b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR < /b/1/llvm-x86_64-debian-dylib/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 3
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll:25:29: error: FALLBACK-WITH-REPORT-ERR: expected string not found in input
; FALLBACK-WITH-REPORT-ERR: remark: <unknown>:0:0: unable to translate instruction: call:
                            ^
<stdin>:1:1: note: scanning from here
remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg)
^

Input file: <stdin>
Check file: /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll

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

Input was:
<<<<<<
          1: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg) 
check:25     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
          2: warning: Instruction selection used fallback path for scalable_arg 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          3: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> undef, <vscale x 1 x i8> undef, i64 %0)' (in function: scalable_inst) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          4: warning: Instruction selection used fallback path for scalable_inst 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          5: remark: <unknown>:0:0: unable to translate instruction: alloca: ' %local0 = alloca <vscale x 16 x i8>, align 16' (in function: scalable_alloca) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          6: warning: Instruction selection used fallback path for scalable_alloca 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

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


@llvm-ci
Copy link
Collaborator

llvm-ci commented Jun 17, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-debian running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=riscv64 -mattr='+v' -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' -verify-machineinstrs /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /b/1/llvm-clang-x86_64-expensive-checks-debian/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out 2> /b/1/llvm-clang-x86_64-expensive-checks-debian/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 1
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=riscv64 -mattr=+v -O0 -global-isel -global-isel-abort=2 '-pass-remarks-missed=gisel*' -verify-machineinstrs /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /b/1/llvm-clang-x86_64-expensive-checks-debian/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out
/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT < /b/1/llvm-clang-x86_64-expensive-checks-debian/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out # RUN: at line 2
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT
/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR < /b/1/llvm-clang-x86_64-expensive-checks-debian/build/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 3
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll:25:29: error: FALLBACK-WITH-REPORT-ERR: expected string not found in input
; FALLBACK-WITH-REPORT-ERR: remark: <unknown>:0:0: unable to translate instruction: call:
                            ^
<stdin>:1:1: note: scanning from here
remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg)
^

Input file: <stdin>
Check file: /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll

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

Input was:
<<<<<<
          1: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg) 
check:25     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
          2: warning: Instruction selection used fallback path for scalable_arg 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          3: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> undef, <vscale x 1 x i8> undef, i64 %0)' (in function: scalable_inst) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          4: warning: Instruction selection used fallback path for scalable_inst 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          5: remark: <unknown>:0:0: unable to translate instruction: alloca: ' %local0 = alloca <vscale x 16 x i8>, align 16' (in function: scalable_alloca) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          6: warning: Instruction selection used fallback path for scalable_alloca 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

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


@llvm-ci
Copy link
Collaborator

llvm-ci commented Jun 17, 2025

LLVM Buildbot has detected a new failure on builder clang-x86_64-debian-fast running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

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

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=riscv64 -mattr='+v' -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' -verify-machineinstrs /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /b/1/clang-x86_64-debian-fast/llvm.obj/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out 2> /b/1/clang-x86_64-debian-fast/llvm.obj/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 1
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=riscv64 -mattr=+v -O0 -global-isel -global-isel-abort=2 '-pass-remarks-missed=gisel*' -verify-machineinstrs /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll -o /b/1/clang-x86_64-debian-fast/llvm.obj/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out
/b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT < /b/1/clang-x86_64-debian-fast/llvm.obj/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.out # RUN: at line 2
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-OUT
/b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR < /b/1/clang-x86_64-debian-fast/llvm.obj/test/CodeGen/RISCV/GlobalISel/irtranslator/Output/fallback.ll.tmp.err # RUN: at line 3
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll --check-prefix=FALLBACK-WITH-REPORT-ERR
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll:25:29: error: FALLBACK-WITH-REPORT-ERR: expected string not found in input
; FALLBACK-WITH-REPORT-ERR: remark: <unknown>:0:0: unable to translate instruction: call:
                            ^
<stdin>:1:1: note: scanning from here
remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg)
^

Input file: <stdin>
Check file: /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/irtranslator/fallback.ll

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

Input was:
<<<<<<
          1: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2)' (in function: scalable_arg) 
check:25     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
          2: warning: Instruction selection used fallback path for scalable_arg 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          3: remark: <unknown>:0:0: unable to translate instruction: call llvm.riscv.vadd.nxv1i8.nxv1i8.i64: ' %a = call <vscale x 1 x i8> @llvm.riscv.vadd.nxv1i8.nxv1i8.i64(<vscale x 1 x i8> undef, <vscale x 1 x i8> undef, <vscale x 1 x i8> undef, i64 %0)' (in function: scalable_inst) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          4: warning: Instruction selection used fallback path for scalable_inst 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          5: remark: <unknown>:0:0: unable to translate instruction: alloca: ' %local0 = alloca <vscale x 16 x i8>, align 16' (in function: scalable_alloca) 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          6: warning: Instruction selection used fallback path for scalable_alloca 
check:25     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>

--

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


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