fallback: legalize: G_XOR <2 x s64>
| Run: | explore-bc8218b282-20261015-075519 |
| Kind: | fallback |
| Category: | legalize: G_XOR <2 x s64> NEW |
| Occurrences: | 5 in 5 configs, 2 test files |
| Snippet from: | xtheadmempair.629359bbbb.ll (mutant of xtheadmempair.ll) @lwud via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+xtheadmempair -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global <2 x i64>
define i64 @lwud(ptr %a) {
%LGV = load <2 x i64>, ptr @G.3, align 16
%1 = getelementptr i32, ptr %a, i64 4
%L = load <2 x i64>, ptr %1, align 16
%2 = load i32, ptr %1, align 4
%3 = getelementptr i32, ptr %a, i64 5
%4 = load i32, ptr %3, align 4
%B = xor <2 x i64> %L, %LGV
%5 = zext i32 %2 to i64
%6 = zext i32 %4 to i64
%7 = add i64 %5, %6
store <2 x i64> %B, ptr poison, align 16
ret i64 %7
}
Reproduce:
llc -mtriple=riscv32 -mattr=+xtheadmempair -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+xtheadmempair -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %10:_(<2 x s64>) = G_XOR %5:_, %1:_ (in function: lwud)
warning: Instruction selection used fallback path for lwud
Occurrences (5):
| Input | Function | Config |
|---|
| xtheadmempair.629359bbbb.ll (mutant of xtheadmempair.ll) | lwud | -mtriple=riscv32 -mattr=+xtheadmempair -verify-machineinstrs |
| xtheadmempair.db98124fb4.ll (mutant of xtheadmempair.ll) | lwud | -mtriple=riscv64 -mattr=+xtheadmempair -verify-machineinstrs |
| zilsd.48145545e9.ll (mutant of zilsd.ll) | fold_frame_idx | -mtriple=riscv32 -mattr=+zilsd,+unaligned-scalar-mem -verify-machineinstrs |
| zilsd.d6ae20e8d7.ll (mutant of zilsd.ll) | fold_frame_idx | -mtriple=riscv32 -mattr=+zilsd -verify-machineinstrs |
| zilsd.eb2cef7978.ll (mutant of zilsd.ll) | fold_frame_idx | -mtriple=riscv32 -mattr=+zilsd,+zilsd-word-align -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.