It has to save all caller-saved registers before a call in the handler.
So don't emit a call that save/restore registers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
1,040 ms | x64 debian > libomp.lock::omp_init_lock.c |
Event Timeline
Comment Actions
This LGTM, I've left a note on a potential comment update, but otherwise looks good
llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h | ||
---|---|---|
63 | Can you update this comment to put , or is an interrupt handler |
Comment Actions
Thanks, good catch. LGTM.
I wonder if this test should just go in the existing saverestore.ll test?
llvm/test/CodeGen/RISCV/saverestore.ll | ||
---|---|---|
304 ↗ | (On Diff #337689) | Inline the attribute |
Can you update this comment to put , or is an interrupt handler