Merge "Revert "Enable sext.w removal for riscv targets"" into main

This commit is contained in:
Treehugger Robot
2023-07-14 20:59:25 +00:00
committed by Gerrit Code Review

View File

@@ -26,9 +26,6 @@ var (
// Help catch common 32/64-bit errors. // Help catch common 32/64-bit errors.
"-Werror=implicit-function-declaration", "-Werror=implicit-function-declaration",
"-fno-emulated-tls", "-fno-emulated-tls",
// A temporary fix for SExtWRemoval miscompilation bug.
"-mllvm",
"-riscv-disable-sextw-removal=true",
"-march=rv64gc_zba_zbb_zbs", "-march=rv64gc_zba_zbb_zbs",
} }