[llvm] [AMDGPU][True16][MC] true16 for v_minmax/maxmin_f16 (PR #119586)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 19 03:37:05 PST 2024
jayfoad wrote:
Hi @broxigarchen this is breaking compilation on GFX12 for us. Can you please fix or revert? Test case:
```
; RUN: llc -mtriple=amdgcn -mcpu=gfx1200 < %s
define half @test(half %arg) {
%i = call half @llvm.minnum.f16(half %arg, half 0xH0000)
%i1 = call half @llvm.maxnum.f16(half %i, half 0xH0000)
ret half %i1
}
```
I get:
```
llc: /home/jayfoad2/git/llvm-project/llvm/include/llvm/MC/MCInstrInfo.h:64: const MCInstrDesc &llvm::MCInstrInfo::get(unsigned int) const: Assertion `Opcode < NumOpcodes && "Invalid opcode!"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
```
https://github.com/llvm/llvm-project/pull/119586
More information about the llvm-commits
mailing list