[NVPTX] icmp i1
used as branching condition crashes backend
#58428
Labels
backend:NVPTX
crash
Prefer [crash-on-valid] or [crash-on-invalid]
llvm:SelectionDAG
SelectionDAGISel as well
Uh oh!
There was an error while loading. Please reload this page.
Description
When
icmp
instruction withi1
operands is used as a branching condition,nvptx
backend crashes with errorCannot select: t20: i1 = setcc t29, t24, setule:ch
.icmp eq
andicmp ne
do not have the problem.The problem doesn't exist when
icmp
is used oni8
,i16
, etc.Minimal Reproduction
https://godbolt.org/z/Taj5G5aGW
Code
Stack Trace
The text was updated successfully, but these errors were encountered: