fallback: translate: zext i64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: zext i64 M |
| Occurrences: | 4 in 4 configs, 3 test files, 16 more counted only |
| Snippet from: | avgflooru.9f4f85eaef.ll (mutant of avgflooru.ll) @test_ext_i64 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zhinx -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i64 @test_ext_i64(i64 %a0, i64 %a1) #0 {
%x0 = zext i64 %a0 to i128
%x1 = zext i64 %a1 to i128
%sum = add i128 %x0, %x1
%shift = lshr i128 %sum, 1
%res = trunc i128 %shift to i64
%C = icmp ule <2 x i64> splat (i64 4294967296), zeroinitializer
store <2 x i1> %C, ptr poison, align 1
ret i64 %res
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zhinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zhinx -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: zext: ' %x0 = zext i64 %a0 to i128' (in function: test_ext_i64)
warning: Instruction selection used fallback path for test_ext_i64
Occurrences (4):
| Input | Function | Config |
|---|
| avgflooru.9f4f85eaef.ll (mutant of avgflooru.ll) | test_ext_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zhinx -O2 |
| clmul.9779ba4ef5.ll (mutant of clmul.ll) | clmul_i128_zext | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zfinx -O0 |
| clmul.b15f3aca78.ll (mutant of clmul.ll) | clmul_i128_zext | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+a,+zhinx -O1 -code-model=small |
| rv64-inline-asm-pairs.877d64833a.ll (mutant of rv64-inline-asm-pairs.ll) | test_cR_wide_scalar_with_ops | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O0 |
Generated 2026-11-29 14:49 UTC.