Hello,
I was trying to follow this tutorial. However, I couldn’t find the file called RISCVInstrInfo.td
on the 6th page of the slide. Since the slide is from 4 years ago, I thought the directory of the file might be changed or the name might be changed by an update. I want to ask if my building LLVM infrastructure has problems or not?
I used this command to build LLVM in the build folder: cmake -DLLVM_TARGETS_TO_BUILD="RISCV" -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=clang -G Ninja ../llvm
Hi,
The filename wraps around on that slide, the file you are looking for is RISCVInstrInfo.td
in llvm/lib/Target/RISCV
Thank you for the quick reply @simonpcook
Yes, I wrote it wrongly. Now I edited it. Neither RISCVInstrInfo.td
nor RISCVInstr.td
were exist in the directory that is shown in the slide but I didn’t check the folder that you mentioned. I will check and state it here on monday because I don’t have access to computer till monday.
You are right. I found the file in the directory that you mentioned.
Thank you so much.