This is the BPF backend support for __builtin_bpf_load_u32_to_ptr().
A new codegen only opcode LOAD_U32_TO_PTR is introduced
for IR builtin int_bpf_load_u32_to_ptr(). Finally, a
single LDW instruction is generated for the builtin.
Details
Details
- Reviewers
ast
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
generate code for LOAD_U32_TO_PTR through BPFInstrInfo.td specificaiton instead of rewrite at AsmPrint time.