| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.bswap.i16 M |
| Occurrences: | 5 in 4 configs, 2 test files, 12 more counted only |
| Snippet from: | bswap-shift.c6a084059f.ll (mutant of bswap-shift.ll) @test_bswap_shli_7_bswap_i16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbkb,+zfinx -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
; Function Attrs: nounwind
define i16 @test_bswap_shli_7_bswap_i16(i16 %a) #0 {
%1 = call i16 @llvm.bswap.i16(i16 %a)
%B = and i16 %a, %1
%2 = call i16 @llvm.bswap.i16(i16 %B)
ret i16 %2
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare i16 @llvm.bswap.i16(i16) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbkb,+zfinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o - llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbkb,+zfinx -O2 -global-isel=0 snippet.ll -o -
remark: <unknown>:0:0: unable to translate instruction: call llvm.bswap.i16: ' %1 = call i16 @llvm.bswap.i16(i16 %a)' (in function: test_bswap_shli_7_bswap_i16) warning: Instruction selection used fallback path for test_bswap_shli_7_bswap_i16
| Input | Function | Config |
|---|---|---|
| bswap-bitreverse.5419cd2d6d.ll (mutant of bswap-bitreverse.ll) | test_bswap_i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zcb,+zhinx -O0 -code-model=small |
| bswap-shift.7fb75fb3a5.ll (mutant of bswap-shift.ll) | test_bswap_shli_8_bswap_i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbkb,+zhinx -O3 |
| bswap-shift.b641077727.ll (mutant of bswap-shift.ll) | test_bswap_srli_7_bswap_i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zdinx,+zihintpause -O0 |
| bswap-shift.b641077727.ll (mutant of bswap-shift.ll) | test_bswap_shli_7_bswap_i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zdinx,+zihintpause -O0 |
| bswap-shift.c6a084059f.ll (mutant of bswap-shift.ll) | test_bswap_shli_7_bswap_i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbkb,+zfinx -O2 |
Generated 2026-11-29 14:49 UTC.