[clang] [Driver] Don't default to -mrelax-all for non-RISCV -O0 (PR #90013)

Sam Clegg via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 26 13:22:45 PDT 2024


sbc100 wrote:

This change seems to have caused a test in emscripten to starting failing with `argument unused during compilation: '-O2'`: https://github.com/emscripten-core/emscripten/pull/21841.

Is that an intended side effect of this change?  The fix on our end seems reasonable but posting here just in case.

https://github.com/llvm/llvm-project/pull/90013


More information about the cfe-commits mailing list