fallback: legalize: G_FCANONICALIZE <4 x s32>
| Run: | main-bc8218b282-20261015-074651 |
| Kind: | fallback |
| Category: | legalize: G_FCANONICALIZE <4 x s32> |
| Occurrences: | 11 in 11 configs, 1 test files |
| Snippet from: | fp-fcanonicalize.ll @fcanonicalize_v4f32 via llvm-extract |
| Config: | --mtriple=riscv32 |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <4 x float> @fcanonicalize_v4f32(<4 x float> %x) {
%z = call nnan <4 x float> @llvm.canonicalize.v4f32(<4 x float> %x)
ret <4 x float> %z
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.canonicalize.v4f32(<4 x float>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc --mtriple=riscv32 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc --mtriple=riscv32 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %3:_(<4 x s32>) = nnan G_FCANONICALIZE %0:_ (in function: fcanonicalize_v4f32)
warning: Instruction selection used fallback path for fcanonicalize_v4f32
Occurrences (11):
Generated 2026-10-15 08:05 UTC.