| Run: | explore-bc8218b282-20261015-075519 |
| Kind: | fallback |
| Category: | legalize: G_SHL <2 x s64> NEW |
| Occurrences: | 11 in 10 configs, 6 test files |
| Snippet from: | xtheadmac.7dde5bb482.ll (mutant of xtheadmac.ll) @commutative2 via llvm-extract + llvm-reduce |
| Config: | -mtriple=riscv32 -mattr=+xtheadmac -mattr=+m -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | https://godbolt.org/z/Pxs4M53ns (llc-assertions-trunk, checked 2026-10-15 08:05 UTC): G reproduces |
define <2 x i64> @commutative2(<2 x i64> %LGV) {
%B1 = shl <2 x i64> splat (i64 1), %LGV
ret <2 x i64> %B1
}
| Pane | Options | Exit | Insts | stderr |
|---|---|---|---|---|
| GlobalISel | -mtriple=riscv32 -mattr=+xtheadmac -mattr=+m -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* | 0 | 22 | remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x s64>) = G_SHL %3:_, %0:_(<2 x s64>) (in function: commutative2) warning: Instruction selection used fallback path for commutative2 |
| SelectionDAG (control) | -mtriple=riscv32 -mattr=+xtheadmac -mattr=+m -verify-machineinstrs -global-isel=0 | 0 | 22 | - |
llc -mtriple=riscv32 -mattr=+xtheadmac -mattr=+m -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o - llc -mtriple=riscv32 -mattr=+xtheadmac -mattr=+m -verify-machineinstrs -global-isel=0 snippet.ll -o -
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x s64>) = G_SHL %3:_, %0:_(<2 x s64>) (in function: commutative2) warning: Instruction selection used fallback path for commutative2
| Input | Function | Config |
|---|---|---|
| add-imm64-to-sub.7a2cab2f50.ll (mutant of add-imm64-to-sub.ll) | add_pos_and_neg_const_no_anchor | -mtriple=riscv64 -mattr=+m,+zbb,+zbs |
| add-imm64-to-sub.c02ec08409.ll (mutant of add-imm64-to-sub.ll) | add_pos_and_neg_const_no_anchor | -mtriple=riscv64 -mattr=+m,+zbb |
| add_shl_constant.6ec1c2971c.ll (mutant of add_shl_constant.ll) | add_shl_moreOneUse_inSelect_addexceedsign12 | -mtriple=riscv32 -mattr=+xandesperf |
| add_shl_constant.b792a1ae71.ll (mutant of add_shl_constant.ll) | add_shl_moreOneUse_inSelect_addexceedsign12 | -mtriple=riscv32 |
| add_shl_constant.edb59100e5.ll (mutant of add_shl_constant.ll) | add_shl_moreOneUse_inSelect_addexceedsign12 | -mtriple=riscv32 -mattr=+zba |
| shl-demanded.1d1e66562a.ll (mutant of shl-demanded.ll) | zext_shl_mask_higher | -mtriple=riscv64 -verify-machineinstrs |
| shl-demanded.2acf61f503.ll (mutant of shl-demanded.ll) | zext_shl_mask_higher | -mtriple=riscv32 -verify-machineinstrs |
| simplify-condbr.89d6a12c8e.ll (mutant of simplify-condbr.ll) | S_regrepeat | -mtriple=riscv64 -verify-machineinstrs |
| xtheadmac.7dde5bb482.ll (mutant of xtheadmac.ll) | commutative2 | -mtriple=riscv32 -mattr=+xtheadmac -mattr=+m -verify-machineinstrs |
| xtheadmac.cd33b9ced6.ll (mutant of xtheadmac.ll) | commutative2 | -mtriple=riscv64 -mattr=+xtheadmac -mattr=+m -verify-machineinstrs |
| zdinx-asm-constraint.15f96fb1af.ll (mutant of zdinx-asm-constraint.ll) | zhinx_asm_cr | -mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinx |
Generated 2026-10-15 08:05 UTC.