I’m learning about LLVM backend generation. I’ve cloned Target/BPF and called it Target/Dummy, renamed everything suitably, set up cmake files etc. I’m having trouble with
which corresponds to BPF’s
which occurs only twice, in
This builds fine for BPF, but not for my clone. It fails when the build file tries to do
on Dummy.td (which corresponds to BPF.td).
UPDATE: Problem solved. My newly created intrinsics file needs to be registered in llvm-project/Intrinsics.td at main · llvm/llvm-project · GitHub