Can't build BPF clone target b/c of int_bpf_pseudo

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

 tablegen -gen-dag-isel 

on (which corresponds to

UPDATE: Problem solved. My newly created intrinsics file needs to be registered in llvm-project/ at main · llvm/llvm-project · GitHub