crash: LLVM ERROR: Found 8 machine code errors.

Run:explore-d9924131a4-20261128-105811
Kind:crash
Category:LLVM ERROR: Found 8 machine code errors. M
Occurrences:1 in 1 configs, 1 test files
Snippet from:fixed-vectors-reduction-fp-bf16.be5b6c21be.ll (mutant of fixed-vectors-reduction-fp-bf16.ll) @vreduce_fmaximum_v64bf16 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+v -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define bfloat @vreduce_fmaximum_v64bf16(ptr %x) {
  %v = load <64 x bfloat>, ptr %x, align 128
  %G = getelementptr <64 x bfloat>, ptr %x, i1 false
  %red = call bfloat %G(<64 x bfloat> %v)
  ret bfloat %red
}

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+v -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+v -O1 -global-isel=0 snippet.ll -o -

Local llc output:

# After IRTranslator
# Machine code for function vreduce_fmaximum_v64bf16: IsSSA, TracksLiveness
Function Live Ins: $x10
bb.1 (%ir-block.0):
  liveins: $x10
  %0:gprjalrnonx7(p0) = COPY $x10
  %1:_(<64 x bf16>) = G_LOAD %0:gprjalrnonx7(p0) :: (load (<64 x bf16>) from %ir.x)
  ADJCALLSTACKDOWN 384, 0, implicit-def $x2, implicit $x2
  %67:_(bf16), %68:_(bf16), %69:_(bf16), %70:_(bf16), %71:_(bf16), %72:_(bf16), %73:_(bf16), %74:_(bf16), %75:_(bf16), %76:_(bf16), %77:_(bf16), %78:_(bf16), %79:_(bf16), %80:_(bf16), %81:_(bf16), %82:_(bf16), %83:_(bf16), %84:_(bf16), %85:_(bf16), %86:_(bf16), %87:_(bf16), %88:_(bf16), %89:_(bf16), %90:_(bf16), %91:_(bf16), %92:_(bf16), %93:_(bf16), %94:_(bf16), %95:_(bf16), %96:_(bf16), %97:_(bf16), %98:_(bf16), %99:_(bf16), %100:_(bf16), %101:_(bf16), %102:_(bf16), %103:_(bf16), %104:_(bf16), %105:_(bf16), %106:_(bf16), %107:_(bf16), %108:_(bf16), %109:_(bf16), %110:_(bf16), %111:_(bf16), %112:_(bf16), %113:_(bf16), %114:_(bf16), %115:_(bf16), %116:_(bf16), %117:_(bf16), %118:_(bf16), %119:_(bf16), %120:_(bf16), %121:_(bf16), %122:_(bf16), %123:_(bf16), %124:_(bf16), %125:_(bf16), %126:_(bf16), %127:_(bf16), %128:_(bf16), %129:_(bf16), %130:_(bf16) = G_UNMERGE_VALUES %1:_(<64 x bf16>)
  %3:_(f32) = G_ANYEXT %67:_(bf16)
  %4:_(f32) = G_ANYEXT %68:_(bf16)
  %5:_(f32) = G_ANYEXT %69:_(bf16)
  %6:_(f32) = G_ANYEXT %70:_(bf16)
  %7:_(f32) = G_ANYEXT %71:_(bf16)
  %8:_(f32) = G_ANYEXT %72:_(bf16)
  %9:_(f32) = G_ANYEXT %73:_(bf16)
  %10:_(f32) = G_ANYEXT %74:_(bf16)
  %11:_(f32) = G_ANYEXT %75:_(bf16)
  %12:_(f32) = G_ANYEXT %76:_(bf16)
  %13:_(f32) = G_ANYEXT %77:_(bf16)
  %14:_(f32) = G_ANYEXT %78:_(bf16)
  %15:_(f32) = G_ANYEXT %79:_(bf16)
  %16:_(f32) = G_ANYEXT %80:_(bf16)
  %17:_(f32) = G_ANYEXT %81:_(bf16)
  %18:_(f32) = G_ANYEXT %82:_(bf16)
  %19:_(f32) = G_ANYEXT %83:_(bf16)
  %20:_(f32) = G_ANYEXT %84:_(bf16)
  %21:_(f32) = G_ANYEXT %85:_(bf16)
  %22:_(f32) = G_ANYEXT %86:_(bf16)
  %23:_(f32) = G_ANYEXT %87:_(bf16)
  %24:_(f32) = G_ANYEXT %88:_(bf16)
  %25:_(f32) = G_ANYEXT %89:_(bf16)
  %26:_(f32) = G_ANYEXT %90:_(bf16)
  %27:_(f32) = G_ANYEXT %91:_(bf16)
  %28:_(f32) = G_ANYEXT %92:_(bf16)
  %29:_(f32) = G_ANYEXT %93:_(bf16)
  %30:_(f32) = G_ANYEXT %94:_(bf16)
  %31:_(f32) = G_ANYEXT %95:_(bf16)
  %32:_(f32) = G_ANYEXT %96:_(bf16)
  %33:_(f32) = G_ANYEXT %97:_(bf16)
  %34:_(f32) = G_ANYEXT %98:_(bf16)
  %35:_(f32) = G_ANYEXT %99:_(bf16)
  %36:_(f32) = G_ANYEXT %100:_(bf16)
  %37:_(f32) = G_ANYEXT %101:_(bf16)
  %38:_(f32) = G_ANYEXT %102:_(bf16)
  %39:_(f32) = G_ANYEXT %103:_(bf16)
  %40:_(f32) = G_ANYEXT %104:_(bf16)
  %41:_(f32) = G_ANYEXT %105:_(bf16)
  %42:_(f32) = G_ANYEXT %106:_(bf16)
  %43:_(f32) = G_ANYEXT %107:_(bf16)
  %44:_(f32) = G_ANYEXT %108:_(bf16)
  %45:_(f32) = G_ANYEXT %109:_(bf16)
  %46:_(f32) = G_ANYEXT %110:_(bf16)
  %47:_(f32) = G_ANYEXT %111:_(bf16)
  %48:_(f32) = G_ANYEXT %112:_(bf16)
  %49:_(f32) = G_ANYEXT %113:_(bf16)
  %50:_(f32) = G_ANYEXT %114:_(bf16)
  %51:_(f32) = G_ANYEXT %115:_(bf16)
  %52:_(f32) = G_ANYEXT %116:_(bf16)
  %53:_(f32) = G_ANYEXT %117:_(bf16)
  %54:_(f32) = G_ANYEXT %118:_(bf16)
  %55:_(f32) = G_ANYEXT %119:_(bf16)
  %56:_(f32) = G_ANYEXT %120:_(bf16)
  %57:_(f32) = G_ANYEXT %121:_(bf16)
  %58:_(f32) = G_ANYEXT %122:_(bf16)
  %59:_(f32) = G_ANYEXT %123:_(bf16)
  %60:_(f32) = G_ANYEXT %124:_(bf16)
  %61:_(f32) = G_ANYEXT %125:_(bf16)
  %62:_(f32) = G_ANYEXT %126:_(bf16)
  %63:_(f32) = G_ANYEXT %127:_(bf16)
  %64:_(f32) = G_ANYEXT %128:_(bf16)
  %65:_(f32) = G_ANYEXT %129:_(bf16)
  %66:_(f32) = G_ANYEXT %130:_(bf16)
  %131:_(p0) = COPY $x2
  %132:_(i64) = G_CONSTANT i64 0
  %133:_(p0) = G_PTR_ADD %131:_, %132:_(i64)
  G_STORE %19:_(f32), %133:_(p0) :: (store (f32) into stack, align 16)
  %134:_(i64) = G_CONSTANT i64 8
  %135:_(p0) = G_PTR_ADD %131:_, %134:_(i64)
  G_STORE %20:_(f32), %135:_(p0) :: (store (f32) into stack + 8, align 8)
  %136:_(i64) = G_CONSTANT i64 16
  %137:_(p0) = G_PTR_ADD %131:_, %136:_(i64)
  G_STORE %21:_(f32), %137:_(p0) :

Occurrences (1):

InputFunctionConfig
fixed-vectors-reduction-fp-bf16.be5b6c21be.ll (mutant of fixed-vectors-reduction-fp-bf16.ll)-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+v -O1

Generated 2026-11-29 14:49 UTC.