crash: LLVM ERROR: Found 32 machine code errors.
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | crash |
| Category: | LLVM ERROR: Found 32 machine code errors. M |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | fastcc-bf16.0d99baf6ae.ll (mutant of fastcc-bf16.ll) @caller via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+f -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i64
@G.1 = external global i64
@G.2 = external global i1
; Function Attrs: nounwind
declare fastcc bfloat @callee(<32 x bfloat>) #0
; Function Attrs: nounwind
define bfloat @caller(<32 x bfloat> %A) #0 {
%A3 = alloca i1, align 1
store i1 poison, ptr %A3, align 1
%LGV1 = load i64, ptr @G.1, align 4
%LGV = load i64, ptr @G, align 4
%B = or i64 %LGV, 0
%C = call fastcc bfloat @callee(<32 x bfloat> %A)
store i64 %B, ptr poison, align 4
%C2 = icmp slt i64 9223372036854775807, %LGV1
store i1 %C2, ptr %A3, align 1
%C4 = icmp uge i64 %LGV, %LGV1
store i1 %C4, ptr @G.2, align 1
ret bfloat %C
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+f -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+f -O1 -global-isel=0 snippet.ll -o -
Local llc output:
# After Legalizer
# Machine code for function caller: IsSSA, TracksLiveness, Legalized
Frame Objects:
fi#-24: size=4, align=4, fixed, at location [SP+92]
fi#-23: size=4, align=8, fixed, at location [SP+88]
fi#-22: size=4, align=4, fixed, at location [SP+84]
fi#-21: size=4, align=16, fixed, at location [SP+80]
fi#-20: size=4, align=4, fixed, at location [SP+76]
fi#-19: size=4, align=8, fixed, at location [SP+72]
fi#-18: size=4, align=4, fixed, at location [SP+68]
fi#-17: size=4, align=16, fixed, at location [SP+64]
fi#-16: size=4, align=4, fixed, at location [SP+60]
fi#-15: size=4, align=8, fixed, at location [SP+56]
fi#-14: size=4, align=4, fixed, at location [SP+52]
fi#-13: size=4, align=16, fixed, at location [SP+48]
fi#-12: size=4, align=4, fixed, at location [SP+44]
fi#-11: size=4, align=8, fixed, at location [SP+40]
fi#-10: size=4, align=4, fixed, at location [SP+36]
fi#-9: size=4, align=16, fixed, at location [SP+32]
fi#-8: size=4, align=4, fixed, at location [SP+28]
fi#-7: size=4, align=8, fixed, at location [SP+24]
fi#-6: size=4, align=4, fixed, at location [SP+20]
fi#-5: size=4, align=16, fixed, at location [SP+16]
fi#-4: size=4, align=4, fixed, at location [SP+12]
fi#-3: size=4, align=8, fixed, at location [SP+8]
fi#-2: size=4, align=4, fixed, at location [SP+4]
fi#-1: size=4, align=16, fixed, at location [SP]
fi#0: size=1, align=1, at location [SP]
save/restore points:
save points are empty
restore points are empty
Function Live Ins: $x10, $x11, $x12, $x13, $x14, $x15, $x16, $x17
bb.1 (%ir-block.0):
liveins: $x10, $x11, $x12, $x13, $x14, $x15, $x16, $x17
%1:_(i32) = COPY $x10
%2:_(i32) = COPY $x11
%3:_(i32) = COPY $x12
%4:_(i32) = COPY $x13
%5:_(i32) = COPY $x14
%6:_(i32) = COPY $x15
%7:_(i32) = COPY $x16
%8:_(i32) = COPY $x17
%33:_(p0) = G_FRAME_INDEX %fixed-stack.23
%9:_(i32) = G_LOAD %33:_(p0) :: (load (f32) from %fixed-stack.23, align 16)
%34:_(p0) = G_FRAME_INDEX %fixed-stack.22
%10:_(i32) = G_LOAD %34:_(p0) :: (load (f32) from %fixed-stack.22)
%35:_(p0) = G_FRAME_INDEX %fixed-stack.21
%11:_(i32) = G_LOAD %35:_(p0) :: (load (f32) from %fixed-stack.21, align 8)
%36:_(p0) = G_FRAME_INDEX %fixed-stack.20
%12:_(i32) = G_LOAD %36:_(p0) :: (load (f32) from %fixed-stack.20)
%37:_(p0) = G_FRAME_INDEX %fixed-stack.19
%13:_(i32) = G_LOAD %37:_(p0) :: (load (f32) from %fixed-stack.19, align 16)
%38:_(p0) = G_FRAME_INDEX %fixed-stack.18
%14:_(i32) = G_LOAD %38:_(p0) :: (load (f32) from %fixed-stack.18)
%39:_(p0) = G_FRAME_INDEX %fixed-stack.17
%15:_(i32) = G_LOAD %39:_(p0) :: (load (f32) from %fixed-stack.17, align 8)
%40:_(p0) = G_FRAME_INDEX %fixed-stack.16
%16:_(i32) = G_LOAD %40:_(p0) :: (load (f32) from %fixed-stack.16)
%41:_(p0) = G_FRAME_INDEX %fixed-stack.15
%17:_(i32) = G_LOAD %41:_(p0) :: (load (f32) from %fixed-stack.15, align 16)
%42:_(p0) = G_FRAME_INDEX %fixed-stack.14
%18:_(i32) = G_LOAD %42:_(p0) :: (load (f32) from %fixed-stack.14)
%43:_(p0) = G_FRAME_INDEX %fixed-stack.13
%19:_(i32) = G_LOAD %43:_(p0) :: (load (f32) from %fixed-stack.13, align 8)
%44:_(p0) = G_FRAME_INDEX %fixed-stack.12
%20:_(i32) = G_LOAD %44:_(p0) :: (load (f32) from %fixed-stack.12)
%45:_(p0) = G_FRAME_INDEX %fixed-stack.11
%21:_(i32) = G_LOAD %45:_(p0) :: (load (f32) from %fixed-stack.11, align 16)
%46:_(p0) = G_FRAME_INDEX %fixed-stack.10
%22:_(i32) = G_LOAD %46:_(p0) :: (load (f32) from %fixed-stack.10)
%47:_(p0) = G_FRAME_INDEX %fixed-stack.9
%23:_(i32) = G_LOAD %47:_(p0) :: (load (f32) from %fixed-stack.9, align 8)
%48:_(p0) = G_FRAME_INDEX %fixed-stack.8
%24:_(i32) = G_LOAD %48:_(p0) :: (load (f32) from %fixed-stack.8)
%49:_(p0) = G_FRAME_INDEX %fixed-stack.7
%25:_(i32) = G_LOAD %49:_(p0) :: (load (f32) from %fixed-stack.7, align 16)
%50:_(p0) = G_FRAME_INDEX %fixed-stack.6
%26:_(i32) = G_LOAD %50:_(p0) :: (load (f32) from %fixed-stack.6)
%51:_(p0) = G_FRAME_INDEX %fixed-stack.5
%27:_(i3
Occurrences (1):
| Input | Function | Config |
|---|
| fastcc-bf16.0d99baf6ae.ll (mutant of fastcc-bf16.ll) | | -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+f -O1 |
Generated 2026-11-29 14:49 UTC.