BUG31871

Hello all,

I’ve been working on getting our code compiling with clang-cl for a long time now.

Reaching a working stage, I’ve noticed that I have to do some tricks in our build system to work around https://bugs.llvm.org/show_bug.cgi?id=31871

Would it be possible to add this command line option (/favor) to clang-cl so it doesn’t complain about passing this argument? (Even though it might not do anything?)

CC’ing Reid (I also added some relevant CCs to the bug).

The quick fix would be to ignore it silently instead of ignoring it loudly.

Does anyone know if LLVM actually implements CPU tuning? I was browsing some code and it looks like we ignore -mtune=, but I didn’t have time to dig deeper.