fallback: legalize: G_INTRINSIC_W_SIDE_EFFECTS
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC_W_SIDE_EFFECTS |
| Occurrences: | 46 in 6 configs, 4 test files |
| Snippet from: | riscv-zihintpause.ll @test_pause via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @test_pause() {
call void @llvm.riscv.pause()
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.riscv.pause() #0
attributes #0 = { nocallback nofree nosync nounwind willreturn }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.riscv.pause) (in function: test_pause)
warning: Instruction selection used fallback path for test_pause
Occurrences (46) (first 15):
Generated 2026-11-29 14:49 UTC.