what became LLC -march=cpp?

Hi,

I came on an old post (2012 or 2013) where somebody used this tool with the cpp arch option. I tried to use it too but it fails because no “cpp” architecture was referenced.

Still on old posts I saw that it wasn’t enabled by default for cmake builds so I added the flag -DLLVM_TARGETS_TO_BUILD=“cpp” and “all” but still nothing.

Was it removed from LLVM?

Pierre

Yes, fairly recently. The code that it generated no longer compiled and it never produced good idiomatic code (for example, it didn’t use IRBuilder), so was fairly dangerous as a learning device.

David

OK thanks, it was still interessant to see how to use types, calls… But yeah a fastidious work I guess!

Thanks again,

Pierre