Skip to content

[RISCV] GISel custom lowering for G_ADD/G_SUB #121587

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 3 commits into from
Jan 8, 2025

Conversation

lquinn2015
Copy link
Contributor

@lquinn2015 lquinn2015 commented Jan 3, 2025

Custom lowering for addiw to help match selection dag better. Specifically for RV64 a s32 is produced as a add+sext the output this allows for fewer instructions to sign extend a couple patterns. Allows for the generation of addiw,subw,negw to reduce required instructions to load values quicker

Log2_ceil_i32 in rvzbb.ll shows a more obvious improvement case.

@llvmbot
Copy link
Member

llvmbot commented Jan 3, 2025

@llvm/pr-subscribers-backend-risc-v

@llvm/pr-subscribers-llvm-globalisel

Author: Luke Quinn (lquinn2015)

Changes

Custom lowering for addiw to help match selection dag better. Specifically for RV64 a s32 is produced as a add+sext the output this allows for fewer instructions to sign extend a couple patterns.

Log2_ceil_i32 in rvzbb.ll shows a more obvious improvement case.


Patch is 38.27 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/121587.diff

17 Files Affected:

  • (modified) llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp (+27-1)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/add-imm.ll (+11-11)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/alu-roundtrip.ll (+5-5)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/combine.ll (+2-1)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/freeze.ll (+41-20)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/iabs.ll (+1-1)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir (-1)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir (+4-3)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-add-rv64.mir (+2-1)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-addo-subo-rv64.mir (+1-1)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-const-rv64.mir (+2-1)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir (+10-6)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir (+5-3)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir (+14-8)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ext-rv64.mir (+2-1)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-sat-rv64.mir (+5-3)
  • (modified) llvm/test/CodeGen/RISCV/GlobalISel/rv64zbb.ll (+51-52)
diff --git a/llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp b/llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
index 82847370b7085d..a8d83308df49da 100644
--- a/llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
+++ b/llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
@@ -21,6 +21,7 @@
 #include "llvm/CodeGen/MachineConstantPool.h"
 #include "llvm/CodeGen/MachineJumpTableInfo.h"
 #include "llvm/CodeGen/MachineMemOperand.h"
+#include "llvm/CodeGen/MachineOperand.h"
 #include "llvm/CodeGen/MachineRegisterInfo.h"
 #include "llvm/CodeGen/TargetOpcodes.h"
 #include "llvm/CodeGen/ValueTypes.h"
@@ -132,7 +133,14 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST)
 
   auto PtrVecTys = {nxv1p0, nxv2p0, nxv4p0, nxv8p0, nxv16p0};
 
-  getActionDefinitionsBuilder({G_ADD, G_SUB, G_AND, G_OR, G_XOR})
+  getActionDefinitionsBuilder(G_ADD)
+      .legalFor({sXLen})
+      .legalIf(typeIsLegalIntOrFPVec(0, IntOrFPVecTys, ST))
+      .customFor(ST.is64Bit(), {s32})
+      .widenScalarToNextPow2(0)
+      .clampScalar(0, sXLen, sXLen);
+
+  getActionDefinitionsBuilder({G_SUB, G_AND, G_OR, G_XOR})
       .legalFor({sXLen})
       .legalIf(typeIsLegalIntOrFPVec(0, IntOrFPVecTys, ST))
       .widenScalarToNextPow2(0)
@@ -1330,6 +1338,24 @@ bool RISCVLegalizerInfo::legalizeCustom(
       return true;
     return Helper.lowerConstant(MI);
   }
+  case TargetOpcode::G_ADD: {
+    Helper.Observer.changingInstr(MI);
+    Helper.widenScalarSrc(MI, LLT::scalar(64), 1, TargetOpcode::G_ANYEXT);
+    Helper.widenScalarSrc(MI, LLT::scalar(64), 2, TargetOpcode::G_ANYEXT);
+    
+    Register DstAdd = MRI.createGenericVirtualRegister(sXLen);
+    Register DstSext = MRI.createGenericVirtualRegister(sXLen);
+    
+    MachineOperand &MO = MI.getOperand(0);
+    MIRBuilder.setInsertPt(MIRBuilder.getMBB(), ++MIRBuilder.getInsertPt());
+    MIRBuilder.buildSExtInReg(DstSext, DstAdd, 32);
+
+    MIRBuilder.buildInstr(TargetOpcode::G_TRUNC, {MO}, {DstSext});
+    MO.setReg(DstAdd);
+
+    Helper.Observer.changedInstr(MI);
+    return true;
+  }
   case TargetOpcode::G_SEXT_INREG: {
     LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
     int64_t SizeInBits = MI.getOperand(2).getImm();
diff --git a/llvm/test/CodeGen/RISCV/GlobalISel/add-imm.ll b/llvm/test/CodeGen/RISCV/GlobalISel/add-imm.ll
index ff56ab193c480c..0fd23a7d346dfd 100644
--- a/llvm/test/CodeGen/RISCV/GlobalISel/add-imm.ll
+++ b/llvm/test/CodeGen/RISCV/GlobalISel/add-imm.ll
@@ -14,7 +14,7 @@ define i32 @add_positive_low_bound_reject(i32 %a) nounwind {
 ;
 ; RV64I-LABEL: add_positive_low_bound_reject:
 ; RV64I:       # %bb.0:
-; RV64I-NEXT:    addi a0, a0, 2047
+; RV64I-NEXT:    addiw a0, a0, 2047
 ; RV64I-NEXT:    ret
   %1 = add i32 %a, 2047
   ret i32 %1
@@ -30,7 +30,7 @@ define i32 @add_positive_low_bound_accept(i32 %a) nounwind {
 ; RV64I-LABEL: add_positive_low_bound_accept:
 ; RV64I:       # %bb.0:
 ; RV64I-NEXT:    addi a0, a0, 2047
-; RV64I-NEXT:    addi a0, a0, 1
+; RV64I-NEXT:    addiw a0, a0, 1
 ; RV64I-NEXT:    ret
   %1 = add i32 %a, 2048
   ret i32 %1
@@ -46,7 +46,7 @@ define i32 @add_positive_high_bound_accept(i32 %a) nounwind {
 ; RV64I-LABEL: add_positive_high_bound_accept:
 ; RV64I:       # %bb.0:
 ; RV64I-NEXT:    addi a0, a0, 2047
-; RV64I-NEXT:    addi a0, a0, 2047
+; RV64I-NEXT:    addiw a0, a0, 2047
 ; RV64I-NEXT:    ret
   %1 = add i32 %a, 4094
   ret i32 %1
@@ -63,8 +63,8 @@ define i32 @add_positive_high_bound_reject(i32 %a) nounwind {
 ; RV64I-LABEL: add_positive_high_bound_reject:
 ; RV64I:       # %bb.0:
 ; RV64I-NEXT:    lui a1, 1
-; RV64I-NEXT:    addiw a1, a1, -1
-; RV64I-NEXT:    add a0, a0, a1
+; RV64I-NEXT:    addi a1, a1, -1
+; RV64I-NEXT:    addw a0, a0, a1
 ; RV64I-NEXT:    ret
   %1 = add i32 %a, 4095
   ret i32 %1
@@ -78,7 +78,7 @@ define i32 @add_negative_high_bound_reject(i32 %a) nounwind {
 ;
 ; RV64I-LABEL: add_negative_high_bound_reject:
 ; RV64I:       # %bb.0:
-; RV64I-NEXT:    addi a0, a0, -2048
+; RV64I-NEXT:    addiw a0, a0, -2048
 ; RV64I-NEXT:    ret
   %1 = add i32 %a, -2048
   ret i32 %1
@@ -94,7 +94,7 @@ define i32 @add_negative_high_bound_accept(i32 %a) nounwind {
 ; RV64I-LABEL: add_negative_high_bound_accept:
 ; RV64I:       # %bb.0:
 ; RV64I-NEXT:    addi a0, a0, -2048
-; RV64I-NEXT:    addi a0, a0, -1
+; RV64I-NEXT:    addiw a0, a0, -1
 ; RV64I-NEXT:    ret
   %1 = add i32 %a, -2049
   ret i32 %1
@@ -110,7 +110,7 @@ define i32 @add_negative_low_bound_accept(i32 %a) nounwind {
 ; RV64I-LABEL: add_negative_low_bound_accept:
 ; RV64I:       # %bb.0:
 ; RV64I-NEXT:    addi a0, a0, -2048
-; RV64I-NEXT:    addi a0, a0, -2048
+; RV64I-NEXT:    addiw a0, a0, -2048
 ; RV64I-NEXT:    ret
   %1 = add i32 %a, -4096
   ret i32 %1
@@ -127,8 +127,8 @@ define i32 @add_negative_low_bound_reject(i32 %a) nounwind {
 ; RV64I-LABEL: add_negative_low_bound_reject:
 ; RV64I:       # %bb.0:
 ; RV64I-NEXT:    lui a1, 1048575
-; RV64I-NEXT:    addiw a1, a1, -1
-; RV64I-NEXT:    add a0, a0, a1
+; RV64I-NEXT:    addi a1, a1, -1
+; RV64I-NEXT:    addw a0, a0, a1
 ; RV64I-NEXT:    ret
   %1 = add i32 %a, -4097
   ret i32 %1
@@ -144,7 +144,7 @@ define i32 @add32_accept(i32 %a) nounwind {
 ; RV64I-LABEL: add32_accept:
 ; RV64I:       # %bb.0:
 ; RV64I-NEXT:    addi a0, a0, 2047
-; RV64I-NEXT:    addi a0, a0, 952
+; RV64I-NEXT:    addiw a0, a0, 952
 ; RV64I-NEXT:    ret
   %1 = add i32 %a, 2999
   ret i32 %1
diff --git a/llvm/test/CodeGen/RISCV/GlobalISel/alu-roundtrip.ll b/llvm/test/CodeGen/RISCV/GlobalISel/alu-roundtrip.ll
index ee414992a5245c..f1a489dd54568a 100644
--- a/llvm/test/CodeGen/RISCV/GlobalISel/alu-roundtrip.ll
+++ b/llvm/test/CodeGen/RISCV/GlobalISel/alu-roundtrip.ll
@@ -37,7 +37,7 @@ define i32 @add_i8_signext_i32(i8 %a, i8 %b) {
 ; RV64IM-NEXT:    slli a1, a1, 56
 ; RV64IM-NEXT:    srai a0, a0, 56
 ; RV64IM-NEXT:    srai a1, a1, 56
-; RV64IM-NEXT:    add a0, a0, a1
+; RV64IM-NEXT:    addw a0, a0, a1
 ; RV64IM-NEXT:    ret
 entry:
   %0 = sext i8 %a to i32
@@ -58,7 +58,7 @@ define i32 @add_i8_zeroext_i32(i8 %a, i8 %b) {
 ; RV64IM:       # %bb.0: # %entry
 ; RV64IM-NEXT:    andi a0, a0, 255
 ; RV64IM-NEXT:    andi a1, a1, 255
-; RV64IM-NEXT:    add a0, a0, a1
+; RV64IM-NEXT:    addw a0, a0, a1
 ; RV64IM-NEXT:    ret
 entry:
   %0 = zext i8 %a to i32
@@ -78,7 +78,7 @@ define i32 @add_i32(i32 %a, i32 %b) {
 ;
 ; RV64IM-LABEL: add_i32:
 ; RV64IM:       # %bb.0: # %entry
-; RV64IM-NEXT:    add a0, a0, a1
+; RV64IM-NEXT:    addw a0, a0, a1
 ; RV64IM-NEXT:    ret
 entry:
   %0 = add i32 %a, %b
@@ -93,7 +93,7 @@ define i32 @addi_i32(i32 %a) {
 ;
 ; RV64IM-LABEL: addi_i32:
 ; RV64IM:       # %bb.0: # %entry
-; RV64IM-NEXT:    addi a0, a0, 1234
+; RV64IM-NEXT:    addiw a0, a0, 1234
 ; RV64IM-NEXT:    ret
 entry:
   %0 = add i32 %a, 1234
@@ -123,7 +123,7 @@ define i32 @subi_i32(i32 %a) {
 ;
 ; RV64IM-LABEL: subi_i32:
 ; RV64IM:       # %bb.0: # %entry
-; RV64IM-NEXT:    addi a0, a0, -1234
+; RV64IM-NEXT:    addiw a0, a0, -1234
 ; RV64IM-NEXT:    ret
 entry:
   %0 = sub i32 %a, 1234
diff --git a/llvm/test/CodeGen/RISCV/GlobalISel/combine.ll b/llvm/test/CodeGen/RISCV/GlobalISel/combine.ll
index 9c7fd6895d377a..360e84d37ec858 100644
--- a/llvm/test/CodeGen/RISCV/GlobalISel/combine.ll
+++ b/llvm/test/CodeGen/RISCV/GlobalISel/combine.ll
@@ -21,6 +21,7 @@ define i32 @constant_to_rhs(i32 %x) {
 ; RV64-O0-NEXT:    mv a1, a0
 ; RV64-O0-NEXT:    li a0, 1
 ; RV64-O0-NEXT:    add a0, a0, a1
+; RV64-O0-NEXT:    sext.w a0, a0
 ; RV64-O0-NEXT:    ret
 ;
 ; RV32-OPT-LABEL: constant_to_rhs:
@@ -30,7 +31,7 @@ define i32 @constant_to_rhs(i32 %x) {
 ;
 ; RV64-OPT-LABEL: constant_to_rhs:
 ; RV64-OPT:       # %bb.0:
-; RV64-OPT-NEXT:    addi a0, a0, 1
+; RV64-OPT-NEXT:    addiw a0, a0, 1
 ; RV64-OPT-NEXT:    ret
   %a = add i32 1, %x
   ret i32 %a
diff --git a/llvm/test/CodeGen/RISCV/GlobalISel/freeze.ll b/llvm/test/CodeGen/RISCV/GlobalISel/freeze.ll
index 72f0ab159f0a17..234f3384120666 100644
--- a/llvm/test/CodeGen/RISCV/GlobalISel/freeze.ll
+++ b/llvm/test/CodeGen/RISCV/GlobalISel/freeze.ll
@@ -96,12 +96,19 @@ define ptr @freeze_ptr(ptr %x) {
 %struct.T = type { i32, i32 }
 
 define i32 @freeze_struct(ptr %p) {
-; CHECK-LABEL: freeze_struct:
-; CHECK:       # %bb.0:
-; CHECK-NEXT:    lw a1, 0(a0)
-; CHECK-NEXT:    lw a0, 4(a0)
-; CHECK-NEXT:    add a0, a1, a0
-; CHECK-NEXT:    ret
+; RV32-LABEL: freeze_struct:
+; RV32:       # %bb.0:
+; RV32-NEXT:    lw a1, 0(a0)
+; RV32-NEXT:    lw a0, 4(a0)
+; RV32-NEXT:    add a0, a1, a0
+; RV32-NEXT:    ret
+;
+; RV64-LABEL: freeze_struct:
+; RV64:       # %bb.0:
+; RV64-NEXT:    lw a1, 0(a0)
+; RV64-NEXT:    lw a0, 4(a0)
+; RV64-NEXT:    addw a0, a1, a0
+; RV64-NEXT:    ret
   %s = load %struct.T, ptr %p
   %y1 = freeze %struct.T %s
   %v1 = extractvalue %struct.T %y1, 0
@@ -111,12 +118,19 @@ define i32 @freeze_struct(ptr %p) {
 }
 
 define i32 @freeze_anonstruct(ptr %p) {
-; CHECK-LABEL: freeze_anonstruct:
-; CHECK:       # %bb.0:
-; CHECK-NEXT:    lw a1, 0(a0)
-; CHECK-NEXT:    lw a0, 4(a0)
-; CHECK-NEXT:    add a0, a1, a0
-; CHECK-NEXT:    ret
+; RV32-LABEL: freeze_anonstruct:
+; RV32:       # %bb.0:
+; RV32-NEXT:    lw a1, 0(a0)
+; RV32-NEXT:    lw a0, 4(a0)
+; RV32-NEXT:    add a0, a1, a0
+; RV32-NEXT:    ret
+;
+; RV64-LABEL: freeze_anonstruct:
+; RV64:       # %bb.0:
+; RV64-NEXT:    lw a1, 0(a0)
+; RV64-NEXT:    lw a0, 4(a0)
+; RV64-NEXT:    addw a0, a1, a0
+; RV64-NEXT:    ret
   %s = load {i32, i32}, ptr %p
   %y1 = freeze {i32, i32} %s
   %v1 = extractvalue {i32, i32} %y1, 0
@@ -141,7 +155,7 @@ define i32 @freeze_anonstruct2(ptr %p) {
 ; RV64-NEXT:    lw a0, 0(a0)
 ; RV64-NEXT:    slli a1, a1, 48
 ; RV64-NEXT:    srli a1, a1, 48
-; RV64-NEXT:    add a0, a0, a1
+; RV64-NEXT:    addw a0, a0, a1
 ; RV64-NEXT:    ret
   %s = load {i32, i16}, ptr %p
   %y1 = freeze {i32, i16} %s
@@ -168,7 +182,7 @@ define i32 @freeze_anonstruct2_sext(ptr %p) {
 ; RV64-NEXT:    lw a0, 0(a0)
 ; RV64-NEXT:    slli a1, a1, 48
 ; RV64-NEXT:    srai a1, a1, 48
-; RV64-NEXT:    add a0, a0, a1
+; RV64-NEXT:    addw a0, a0, a1
 ; RV64-NEXT:    ret
   %s = load {i32, i16}, ptr %p
   %y1 = freeze {i32, i16} %s
@@ -180,12 +194,19 @@ define i32 @freeze_anonstruct2_sext(ptr %p) {
 }
 
 define i32 @freeze_array(ptr %p) nounwind {
-; CHECK-LABEL: freeze_array:
-; CHECK:       # %bb.0:
-; CHECK-NEXT:    lw a1, 0(a0)
-; CHECK-NEXT:    lw a0, 4(a0)
-; CHECK-NEXT:    add a0, a1, a0
-; CHECK-NEXT:    ret
+; RV32-LABEL: freeze_array:
+; RV32:       # %bb.0:
+; RV32-NEXT:    lw a1, 0(a0)
+; RV32-NEXT:    lw a0, 4(a0)
+; RV32-NEXT:    add a0, a1, a0
+; RV32-NEXT:    ret
+;
+; RV64-LABEL: freeze_array:
+; RV64:       # %bb.0:
+; RV64-NEXT:    lw a1, 0(a0)
+; RV64-NEXT:    lw a0, 4(a0)
+; RV64-NEXT:    addw a0, a1, a0
+; RV64-NEXT:    ret
   %s = load [2 x i32], ptr %p
   %y1 = freeze [2 x i32] %s
   %v1 = extractvalue [2 x i32] %y1, 0
diff --git a/llvm/test/CodeGen/RISCV/GlobalISel/iabs.ll b/llvm/test/CodeGen/RISCV/GlobalISel/iabs.ll
index 1156edffe91943..31a78d4f72ceb2 100644
--- a/llvm/test/CodeGen/RISCV/GlobalISel/iabs.ll
+++ b/llvm/test/CodeGen/RISCV/GlobalISel/iabs.ll
@@ -98,7 +98,7 @@ define i32 @abs32(i32 %x) {
 ; RV64I-LABEL: abs32:
 ; RV64I:       # %bb.0:
 ; RV64I-NEXT:    sraiw a1, a0, 31
-; RV64I-NEXT:    add a0, a0, a1
+; RV64I-NEXT:    addw a0, a0, a1
 ; RV64I-NEXT:    xor a0, a0, a1
 ; RV64I-NEXT:    ret
 ;
diff --git a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir
index a27e2b80cd98fb..dd54d5d14b6fc8 100644
--- a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir
+++ b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir
@@ -23,7 +23,6 @@
 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
 #
 # DEBUG-NEXT: G_SUB (opcode [[SUB_OPC:[0-9]+]]): 1 type index, 0 imm indices
-# DEBUG-NEXT: .. opcode [[SUB_OPC]] is aliased to [[ADD_OPC]]
 # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detected
 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
 #
diff --git a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir
index 22ce8a0fd0dfa3..78a2227b84a3af 100644
--- a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir
+++ b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir
@@ -86,9 +86,10 @@ body:             |
     ; RV64I-NEXT: [[C:%[0-9]+]]:_(s64) = G_CONSTANT i64 31
     ; RV64I-NEXT: [[ASHR:%[0-9]+]]:_(s64) = G_ASHR [[ASSERT_SEXT]], [[C]](s64)
     ; RV64I-NEXT: [[ADD:%[0-9]+]]:_(s64) = G_ADD [[ASSERT_SEXT]], [[ASHR]]
-    ; RV64I-NEXT: [[XOR:%[0-9]+]]:_(s64) = G_XOR [[ADD]], [[ASHR]]
-    ; RV64I-NEXT: [[SEXT_INREG:%[0-9]+]]:_(s64) = G_SEXT_INREG [[XOR]], 32
-    ; RV64I-NEXT: $x10 = COPY [[SEXT_INREG]](s64)
+    ; RV64I-NEXT: [[SEXT_INREG:%[0-9]+]]:_(s64) = G_SEXT_INREG [[ADD]], 32
+    ; RV64I-NEXT: [[XOR:%[0-9]+]]:_(s64) = G_XOR [[SEXT_INREG]], [[ASHR]]
+    ; RV64I-NEXT: [[SEXT_INREG1:%[0-9]+]]:_(s64) = G_SEXT_INREG [[XOR]], 32
+    ; RV64I-NEXT: $x10 = COPY [[SEXT_INREG1]](s64)
     ; RV64I-NEXT: PseudoRET implicit $x10
     ;
     ; RV64ZBB-LABEL: name: abs_i32
diff --git a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-add-rv64.mir b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-add-rv64.mir
index 48b65a1dd6bae9..8f2b9f36eb9fd4 100644
--- a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-add-rv64.mir
+++ b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-add-rv64.mir
@@ -69,7 +69,8 @@ body:             |
     ; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY $x10
     ; CHECK-NEXT: [[COPY1:%[0-9]+]]:_(s64) = COPY $x11
     ; CHECK-NEXT: [[ADD:%[0-9]+]]:_(s64) = G_ADD [[COPY]], [[COPY1]]
-    ; CHECK-NEXT: $x10 = COPY [[ADD]](s64)
+    ; CHECK-NEXT: [[SEXT_INREG:%[0-9]+]]:_(s64) = G_SEXT_INREG [[ADD]], 32
+    ; CHECK-NEXT: $x10 = COPY [[SEXT_INREG]](s64)
     ; CHECK-NEXT: PseudoRET implicit $x10
     %0:_(s64) = COPY $x10
     %1:_(s64) = COPY $x11
diff --git a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-addo-subo-rv64.mir b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-addo-subo-rv64.mir
index f2ec70933261eb..d836a059717869 100644
--- a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-addo-subo-rv64.mir
+++ b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-addo-subo-rv64.mir
@@ -339,7 +339,7 @@ body:             |
     ; CHECK-NEXT: [[SEXT_INREG:%[0-9]+]]:_(s64) = G_SEXT_INREG [[ADD]], 32
     ; CHECK-NEXT: [[SEXT_INREG1:%[0-9]+]]:_(s64) = G_SEXT_INREG [[COPY1]], 32
     ; CHECK-NEXT: [[ICMP:%[0-9]+]]:_(s64) = G_ICMP intpred(ult), [[SEXT_INREG]](s64), [[SEXT_INREG1]]
-    ; CHECK-NEXT: $x10 = COPY [[ADD]](s64)
+    ; CHECK-NEXT: $x10 = COPY [[SEXT_INREG]](s64)
     ; CHECK-NEXT: $x11 = COPY [[ICMP]](s64)
     ; CHECK-NEXT: PseudoRET implicit $x10, implicit $x11
     %2:_(s64) = COPY $x10
diff --git a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-const-rv64.mir b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-const-rv64.mir
index 57fc513dc9e3ea..e28572d05207a2 100644
--- a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-const-rv64.mir
+++ b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-const-rv64.mir
@@ -145,7 +145,8 @@ body:             |
     ; CHECK: [[C:%[0-9]+]]:_(s64) = G_CONSTANT i64 -64769
     ; CHECK-NEXT: [[COPY:%[0-9]+]]:_(s64) = COPY $x10
     ; CHECK-NEXT: [[ADD:%[0-9]+]]:_(s64) = G_ADD [[COPY]], [[C]]
-    ; CHECK-NEXT: $x10 = COPY [[ADD]](s64)
+    ; CHECK-NEXT: [[SEXT_INREG:%[0-9]+]]:_(s64) = G_SEXT_INREG [[ADD]], 32
+    ; CHECK-NEXT: $x10 = COPY [[SEXT_INREG]](s64)
     ; CHECK-NEXT: PseudoRET implicit $x10
     %0:_(s32) = G_CONSTANT i32 -64769
     %1:_(s64) = COPY $x10
diff --git a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir
index 6cc5477b85a4ed..7f7b38313a038b 100644
--- a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir
+++ b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctlz-rv64.mir
@@ -181,10 +181,12 @@ body:             |
     ; RV64I-NEXT: [[AND8:%[0-9]+]]:_(s64) = G_AND [[LSHR6]], [[C7]]
     ; RV64I-NEXT: [[AND9:%[0-9]+]]:_(s64) = G_AND [[SUB]], [[C7]]
     ; RV64I-NEXT: [[ADD:%[0-9]+]]:_(s64) = G_ADD [[AND8]], [[AND9]]
-    ; RV64I-NEXT: [[LSHR7:%[0-9]+]]:_(s64) = G_LSHR [[ADD]], [[C3]](s64)
-    ; RV64I-NEXT: [[ADD1:%[0-9]+]]:_(s64) = G_ADD [[LSHR7]], [[ADD]]
+    ; RV64I-NEXT: [[SEXT_INREG:%[0-9]+]]:_(s64) = G_SEXT_INREG [[ADD]], 32
+    ; RV64I-NEXT: [[LSHR7:%[0-9]+]]:_(s64) = G_LSHR [[SEXT_INREG]], [[C3]](s64)
+    ; RV64I-NEXT: [[ADD1:%[0-9]+]]:_(s64) = G_ADD [[LSHR7]], [[SEXT_INREG]]
+    ; RV64I-NEXT: [[SEXT_INREG1:%[0-9]+]]:_(s64) = G_SEXT_INREG [[ADD1]], 32
     ; RV64I-NEXT: [[C8:%[0-9]+]]:_(s64) = G_CONSTANT i64 252645135
-    ; RV64I-NEXT: [[AND10:%[0-9]+]]:_(s64) = G_AND [[ADD1]], [[C8]]
+    ; RV64I-NEXT: [[AND10:%[0-9]+]]:_(s64) = G_AND [[SEXT_INREG1]], [[C8]]
     ; RV64I-NEXT: [[C9:%[0-9]+]]:_(s64) = G_CONSTANT i64 16843009
     ; RV64I-NEXT: [[C10:%[0-9]+]]:_(s64) = G_CONSTANT i64 24
     ; RV64I-NEXT: [[MUL:%[0-9]+]]:_(s64) = G_MUL [[AND10]], [[C9]]
@@ -450,10 +452,12 @@ body:             |
     ; RV64I-NEXT: [[AND8:%[0-9]+]]:_(s64) = G_AND [[LSHR6]], [[C7]]
     ; RV64I-NEXT: [[AND9:%[0-9]+]]:_(s64) = G_AND [[SUB]], [[C7]]
     ; RV64I-NEXT: [[ADD:%[0-9]+]]:_(s64) = G_ADD [[AND8]], [[AND9]]
-    ; RV64I-NEXT: [[LSHR7:%[0-9]+]]:_(s64) = G_LSHR [[ADD]], [[C3]](s64)
-    ; RV64I-NEXT: [[ADD1:%[0-9]+]]:_(s64) = G_ADD [[LSHR7]], [[ADD]]
+    ; RV64I-NEXT: [[SEXT_INREG:%[0-9]+]]:_(s64) = G_SEXT_INREG [[ADD]], 32
+    ; RV64I-NEXT: [[LSHR7:%[0-9]+]]:_(s64) = G_LSHR [[SEXT_INREG]], [[C3]](s64)
+    ; RV64I-NEXT: [[ADD1:%[0-9]+]]:_(s64) = G_ADD [[LSHR7]], [[SEXT_INREG]]
+    ; RV64I-NEXT: [[SEXT_INREG1:%[0-9]+]]:_(s64) = G_SEXT_INREG [[ADD1]], 32
     ; RV64I-NEXT: [[C8:%[0-9]+]]:_(s64) = G_CONSTANT i64 252645135
-    ; RV64I-NEXT: [[AND10:%[0-9]+]]:_(s64) = G_AND [[ADD1]], [[C8]]
+    ; RV64I-NEXT: [[AND10:%[0-9]+]]:_(s64) = G_AND [[SEXT_INREG1]], [[C8]]
     ; RV64I-NEXT: [[C9:%[0-9]+]]:_(s64) = G_CONSTANT i64 16843009
     ; RV64I-NEXT: [[C10:%[0-9]+]]:_(s64) = G_CONSTANT i64 24
     ; RV64I-NEXT: [[MUL:%[0-9]+]]:_(s64) = G_MUL [[AND10]], [[C9]]
diff --git a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir
index 1493514394bd53..3f3922c906fd2f 100644
--- a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir
+++ b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-ctpop-rv64.mir
@@ -136,11 +136,13 @@ body:             |
     ; RV64I-NEXT: [[AND3:%[0-9]+]]:_(s64) = G_AND [[LSHR1]], [[C4]]
     ; RV64I-NEXT: [[AND4:%[0-9]+]]:_(s64) = G_AND [[SUB]], [[C4]]
     ; RV64I-NEXT: [[ADD:%[0-9]+]]:_(s64) = G_ADD [[AND3]], [[AND4]]
+    ; RV64I-NEXT: [[SEXT_INREG:%[0-9]+]]:_(s64) = G_SEXT_INREG [[ADD]], 32
     ; RV64I-NEXT: [[C5:%[0-9]+]]:_(s64) = G_CONSTANT i64 4
-    ; RV64I-NEXT: [[LSHR2:%[0-9]+]]:_(s64) = G_LSHR [[ADD]], [[C5]](s64)
-    ; RV64I-NEXT: [[ADD1:%[0-9]+]]:_(s64) = G_ADD [[LSHR2]], [[ADD]]
+    ; RV64I-NEXT: [[LSHR2:%[0-9]+]]:_(s64) = G_LSHR [[SEXT_INREG]], [[C5]](s64)
+    ; RV64I-NEXT: [[ADD1:%[0-9]+]]:_(s64) = G_ADD [[LSHR2]], [[SEXT_INREG]]
+    ; RV64I-NEXT: [[SEXT_INREG1:%[0-9]+]]:_(s64) = G_SEXT_INREG [[ADD1]], 32
     ; RV64I-NEXT: [[C6:%[0-9]+]]:_(s64) = G_CONSTANT i64 252645135
-    ; RV64I-NEXT: [[AND5:%[0-9]+]]:_(s64) = G_AND [[ADD1]], [[C6]]
+    ; RV64I-NEXT: [[AND5:%[0-9]+]]:_(s64) = G_AND [[SEXT_INREG1]], [[C6]]
     ; RV64I-NEXT: [[C7:%[0-9]+]]:_(s64) = G_CONSTANT i64 16843009
     ; RV64I-NEXT: [[C8:%[0-9]+]]:_(s64) = G_CONSTANT i64 24
     ; RV64I-NEXT: [[MUL:%[0-9]+]]:_(s64) = G_MUL [[AND5]], [[C7]]
diff --git a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir
index 252e79280af610..03d6b6723870c9 100644
--- a/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir
+++ b/llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-cttz-rv64.mir
@@ -131,7 +131,8 @@ body:             |
     ; RV64I-NEXT: [[C:%[0-9]+]]:_(s64) = G_CONSTANT i64 -1
     ; RV64I-NEXT: [[XOR:%[0-9]+]]:_(s64) = G_XOR [[COPY]], [[C]]
     ; RV64I-NEXT: [[ADD:%[0-9]+]]:_(s64) = G_ADD [[COPY]], [[C]]
-    ; RV64I-NEXT: [[AND:%[0-9]+]]:_(s64) = G_AND [[XOR]], [[...
[truncated]

@topperc
Copy link
Collaborator

topperc commented Jan 3, 2025

Custom lowering for addiw to help match selection dag better.

This isn't limited to addiw. It's also addw right?

@topperc
Copy link
Collaborator

topperc commented Jan 3, 2025

Can you add G_SUB as well?

Copy link

github-actions bot commented Jan 3, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@lquinn2015
Copy link
Contributor Author

@topperc push a second commit to covers G_ADD/G_SUB and generates addw/addiw/subw /negw instructions like expected. There are no subiw instructions to generate for RISCV to my understanding. Changes the DestAdd ->DestALU because it makes more sense now

@topperc
Copy link
Collaborator

topperc commented Jan 3, 2025

Please update title and description to include sub

Helper.widenScalarSrc(MI, LLT::scalar(64), 2, TargetOpcode::G_ANYEXT);

Register DstALU = MRI.createGenericVirtualRegister(sXLen);
Register DstSext = MRI.createGenericVirtualRegister(sXLen);
Copy link
Contributor

Choose a reason for hiding this comment

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

You should very rarely use createGenericVirtualRegister calls, fold this into auto DstSext = buildSextInReg(sXLen) etc

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am confused at to which API your referencing to. I didn't see a buildSextInReg that produces that pattern out and without that I don't know how to rewrite everything

I need to match this this pattern

%3 = G_ADD %0, %2  

into

%4 = AnyExt %0
%5 = AnyExt %2
%6 = G_ADD %5, %4
%7 = G_SExtInReg %6
%3 = G_Trunc %8

But i don't have that %6 or %5 until after the final call so I don't know which API to use. Should i make another buildSextInReg that i build myself in the code gen modules??

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think Matt meant buildSExtInReg(sXLen, DstALU, 32). If you pass an LLT as the first operand, it will automatically create the virtual register.

Copy link
Contributor Author

@lquinn2015 lquinn2015 Jan 6, 2025

Choose a reason for hiding this comment

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

From a being new perspective its is a little hard to understand from the headers what DstOp is coercionable but i do like being able to just i give a LLT for the buildSExtInReg. Spotting the union type for it is tricky. I tried to do the same for the SrcOp naively but that didn't seem to work the same. Maybe its possible but I am not reading the correct header for it!

Copy link
Contributor

Choose a reason for hiding this comment

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

It doesn't make sense to use an LLT in the SrcOp case because then you'd be creating an undefined use

@lquinn2015 lquinn2015 changed the title [RISCV] GISel custom lowering for addiw [RISCV] GISel custom lowering for G_ADD/G_SUB Jan 4, 2025
Copy link
Collaborator

@topperc topperc left a comment

Choose a reason for hiding this comment

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

LGTM

@topperc topperc merged commit dde5546 into llvm:main Jan 8, 2025
8 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 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/16438

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/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
RUN: at line 6: /b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
<stdin>:81:2: note: possible intended match here
 negw a1, a0
 ^
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:296:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:98:9: note: scanning from here
# %bb.0:
        ^
<stdin>:99:2: note: possible intended match here
 negw a1, a0
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 2025

LLVM Buildbot has detected a new failure on builder ml-opt-rel-x86-64 running on ml-opt-rel-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/185/builds/11064

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/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
RUN: at line 6: /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /b/ml-opt-rel-x86-64-b1/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
<stdin>:81:2: note: possible intended match here
 negw a1, a0
 ^
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:296:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:98:9: note: scanning from here
# %bb.0:
        ^
<stdin>:99:2: note: possible intended match here
 negw a1, a0
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 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/11204

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/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
RUN: at line 4: /b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /b/ml-opt-dev-x86-64-b1/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
<stdin>:81:2: note: possible intended match here
 negw a1, a0
 ^
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:296:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:98:9: note: scanning from here
# %bb.0:
        ^
<stdin>:99:2: note: possible intended match here
 negw a1, a0
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 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/11069

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/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
RUN: at line 4: /b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
RUN: at line 6: /b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /b/ml-opt-devrel-x86-64-b1/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
<stdin>:81:2: note: possible intended match here
 negw a1, a0
 ^
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:296:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:98:9: note: scanning from here
# %bb.0:
        ^
<stdin>:99:2: note: possible intended match here
 negw a1, a0
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 2025

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

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

Here is the relevant piece of the build log for the reference
Step 6 (test) failure: build (failure)
...
PASS: lldb-api :: terminal/TestSTTYBeforeAndAfter.py (1113 of 2064)
PASS: lldb-api :: test_utils/TestDecorators.py (1114 of 2064)
PASS: lldb-api :: test_utils/TestInlineTest.py (1115 of 2064)
PASS: lldb-api :: symbol_ondemand/shared_library/TestSharedLibOnDemand.py (1116 of 2064)
PASS: lldb-api :: test_utils/TestPExpectTest.py (1117 of 2064)
PASS: lldb-api :: test_utils/base/TestBaseTest.py (1118 of 2064)
PASS: lldb-api :: source-manager/TestSourceManager.py (1119 of 2064)
UNSUPPORTED: lldb-api :: tools/lldb-dap/breakpoint-events/TestDAP_breakpointEvents.py (1120 of 2064)
PASS: lldb-api :: python_api/watchpoint/watchlocation/TestSetWatchlocation.py (1121 of 2064)
PASS: lldb-api :: python_api/watchpoint/watchlocation/TestTargetWatchAddress.py (1122 of 2064)
FAIL: lldb-api :: tools/lldb-dap/attach/TestDAP_attachByPortNum.py (1123 of 2064)
******************** TEST 'lldb-api :: tools/lldb-dap/attach/TestDAP_attachByPortNum.py' FAILED ********************
Script:
--
/usr/bin/python3.10 /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./lib --env LLVM_INCLUDE_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/include --env LLVM_TOOLS_DIR=/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin --arch aarch64 --build-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex --lldb-module-cache-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/lldb --compiler /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/clang --dsymutil /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./bin --lldb-obj-root /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/tools/lldb --lldb-libs-dir /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/build/./lib /home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/tools/lldb-dap/attach -p TestDAP_attachByPortNum.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 20.0.0git (https://github.com/llvm/llvm-project.git revision dde5546b79f784ab71cac325e0a0698c67c4dcde)
  clang revision dde5546b79f784ab71cac325e0a0698c67c4dcde
  llvm revision dde5546b79f784ab71cac325e0a0698c67c4dcde
Skipping the following test categories: ['libc++', 'dsym', 'gmodules', 'debugserver', 'objc']
========= DEBUG ADAPTER PROTOCOL LOGS =========
1736305496.398362398 --> 
Content-Length: 343

{
  "arguments": {
    "adapterID": "lldb-native",
    "clientID": "vscode",
    "columnsStartAt1": true,
    "linesStartAt1": true,
    "locale": "en-us",
    "pathFormat": "path",
    "sourceInitFile": true,
    "supportsRunInTerminalRequest": true,
    "supportsStartDebuggingRequest": true,
    "supportsVariablePaging": true,
    "supportsVariableType": true
  },
  "command": "initialize",
  "seq": 1,
  "type": "request"
}
1736305496.400357962 <-- 
Content-Length: 1589


@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 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/11599

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/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /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/combine-neg-abs.ll --check-prefixes=RV32I
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /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/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /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/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /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/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /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/combine-neg-abs.ll --check-prefixes=RV64I
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /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/combine-neg-abs.ll --check-prefixes=RV64I
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
<stdin>:81:2: note: possible intended match here
 negw a1, a0
 ^
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:296:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:98:9: note: scanning from here
# %bb.0:
        ^
<stdin>:99:2: note: possible intended match here
 negw a1, a0
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-gcc-ubuntu running on sie-linux-worker3 while building llvm at step 6 "test-build-unified-tree-check-all".

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

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/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
RUN: at line 6: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: �[0m�[0;1;31merror: �[0m�[1mRV64I-NEXT: expected string not found in input
�[0m; RV64I-NEXT: neg a1, a0
�[0;1;32m              ^
�[0m�[1m<stdin>:10:9: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m# %bb.0:
�[0;1;32m        ^
�[0m�[1m<stdin>:11:2: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m negw a1, a0
�[0;1;32m ^
�[0m�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: �[0m�[0;1;31merror: �[0m�[1mRV64I-NEXT: expected string not found in input
�[0m; RV64I-NEXT: neg a1, a0
�[0;1;32m              ^
�[0m�[1m<stdin>:28:9: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m# %bb.0:
�[0;1;32m        ^
�[0m�[1m<stdin>:29:2: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m negw a1, a0
�[0;1;32m ^
�[0m�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: �[0m�[0;1;31merror: �[0m�[1mRV64I-NEXT: expected string not found in input
�[0m; RV64I-NEXT: neg a1, a0
�[0;1;32m              ^
�[0m�[1m<stdin>:80:9: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m# %bb.0:
�[0;1;32m        ^
�[0m�[1m<stdin>:81:2: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m negw a1, a0
�[0;1;32m ^
�[0m�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:296:15: �[0m�[0;1;31merror: �[0m�[1mRV64I-NEXT: expected string not found in input
�[0m; RV64I-NEXT: neg a1, a0
�[0;1;32m              ^
�[0m�[1m<stdin>:98:9: �[0m�[0;1;30mnote: �[0m�[1mscanning from here
�[0m# %bb.0:
�[0;1;32m        ^
�[0m�[1m<stdin>:99:2: �[0m�[0;1;30mnote: �[0m�[1mpossible intended match here
�[0m negw a1, a0
�[0;1;32m ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 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/15699

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/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /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/combine-neg-abs.ll --check-prefixes=RV32I
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /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/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /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/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /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/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /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/combine-neg-abs.ll --check-prefixes=RV64I
+ /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/combine-neg-abs.ll --check-prefixes=RV64I
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
<stdin>:81:2: note: possible intended match here
 negw a1, a0
 ^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:296:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:98:9: note: scanning from here
# %bb.0:
        ^
<stdin>:99:2: note: possible intended match here
 negw a1, a0
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 2025

LLVM Buildbot has detected a new failure on builder fuchsia-x86_64-linux running on fuchsia-debian-64-us-central1-a-1 while building llvm at step 4 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
[1364/1367] Building CXX object unittests/Transforms/Scalar/CMakeFiles/ScalarTests.dir/LoopPassManagerTest.cpp.o
clang++: warning: optimization flag '-ffat-lto-objects' is not supported [-Wignored-optimization-argument]
[1365/1367] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
[1366/1367] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/wasm-ld
-- Testing: 57540 tests, 60 workers --
Testing:  0.. 10.. 20.. 
FAIL: LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll (18031 of 57540)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
Step 7 (check) failure: check (failure)
...
[1364/1367] Building CXX object unittests/Transforms/Scalar/CMakeFiles/ScalarTests.dir/LoopPassManagerTest.cpp.o
clang++: warning: optimization flag '-ffat-lto-objects' is not supported [-Wignored-optimization-argument]
[1365/1367] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
[1366/1367] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/wasm-ld
-- Testing: 57540 tests, 60 workers --
Testing:  0.. 10.. 20.. 
FAIL: LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll (18031 of 57540)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-8vags889/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 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/9187

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/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /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/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /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/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /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/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /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/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /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/combine-neg-abs.ll --check-prefixes=RV64I
+ /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/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
<stdin>:81:2: note: possible intended match here
 negw a1, a0
 ^
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:296:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:98:9: note: scanning from here
# %bb.0:
        ^
<stdin>:99:2: note: possible intended match here
 negw a1, a0
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 2025

LLVM Buildbot has detected a new failure on builder ppc64le-lld-multistage-test running on ppc64le-lld-multistage-test while building llvm at step 7 "test-build-stage1-unified-tree-check-all".

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

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

Command Output (stderr):
--
RUN: at line 2: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
RUN: at line 6: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
<stdin>:81:2: note: possible intended match here
 negw a1, a0
 ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:296:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:98:9: note: scanning from here
# %bb.0:
        ^
<stdin>:99:2: note: possible intended match here
 negw a1, a0
 ^
...
Step 13 (test-build-stage2-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
<stdin>:81:2: note: possible intended match here
 negw a1, a0
 ^
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:296:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:98:9: note: scanning from here
# %bb.0:
        ^
<stdin>:99:2: note: possible intended match here
 negw a1, a0
 ^
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-hwasan running on sanitizer-buildbot12 while building llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 85768 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.
FAIL: LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll (39898 of 85768)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
Step 11 (stage2/hwasan check) failure: stage2/hwasan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 85768 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.
FAIL: LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll (39898 of 85768)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
Step 13 (stage3/hwasan check) failure: stage3/hwasan check (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/lld-link
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 82924 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40..
FAIL: LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll (39912 of 82924)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build2_hwasan/bin/FileCheck /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-fast running on sanitizer-buildbot4 while building llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88165 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll (17906 of 88165)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
Step 10 (stage2/asan_ubsan check) failure: stage2/asan_ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88165 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll (17906 of 88165)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
Step 13 (stage2/msan check) failure: stage2/msan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88164 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll (9196 of 88164)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
RUN: at line 4: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/FileCheck /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^

topperc added a commit that referenced this pull request Jan 8, 2025
@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 8, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-bootstrap-ubsan running on sanitizer-buildbot4 while building llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88166 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.
FAIL: LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll (41570 of 88166)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
RUN: at line 6: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
Step 11 (stage2/ubsan check) failure: stage2/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88166 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40.
FAIL: LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll (41570 of 88166)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
RUN: at line 4: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
RUN: at line 6: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
Step 13 (stage3/ubsan check) failure: stage3/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 85238 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.. 40..
FAIL: LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll (41567 of 85238)
******************** TEST 'LLVM :: CodeGen/RISCV/GlobalISel/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
RUN: at line 4: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
RUN: at line 6: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/FileCheck /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jan 9, 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/19068

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/combine-neg-abs.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /build/buildbot/premerge-monolithic-linux/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs < /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32I
+ /build/buildbot/premerge-monolithic-linux/build/bin/llc -mtriple=riscv32 -global-isel -verify-machineinstrs
RUN: at line 4: /build/buildbot/premerge-monolithic-linux/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs < /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
+ /build/buildbot/premerge-monolithic-linux/build/bin/llc -mtriple=riscv32 -global-isel -mattr=+zbb -verify-machineinstrs
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV32ZBB
RUN: at line 6: /build/buildbot/premerge-monolithic-linux/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs < /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll    | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
+ /build/buildbot/premerge-monolithic-linux/build/bin/llc -mtriple=riscv64 -global-isel -verify-machineinstrs
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll --check-prefixes=RV64I
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:30:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:10:9: note: scanning from here
# %bb.0:
        ^
<stdin>:11:2: note: possible intended match here
 negw a1, a0
 ^
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:72:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:28:9: note: scanning from here
# %bb.0:
        ^
<stdin>:29:2: note: possible intended match here
 negw a1, a0
 ^
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:254:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:80:9: note: scanning from here
# %bb.0:
        ^
<stdin>:81:2: note: possible intended match here
 negw a1, a0
 ^
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll:296:15: error: RV64I-NEXT: expected string not found in input
; RV64I-NEXT: neg a1, a0
              ^
<stdin>:98:9: note: scanning from here
# %bb.0:
        ^
<stdin>:99:2: note: possible intended match here
 negw a1, a0
 ^
...

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.

5 participants