Merge "Enable sext.w removal for riscv targets" am: 3b7cb59e4e

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2513939

Change-Id: Ifd8e2572af7cda9ece6eccbccba30ccf02942e1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Prashanth Swaminathan
2023-03-31 06:32:05 +00:00
committed by Automerger Merge Worker

View File

@@ -28,6 +28,9 @@ var (
"-fno-emulated-tls",
// For -fsanitize=shadow-call-stack.
"-ffixed-x18",
// A temporary fix for SExtWRemoval miscompilation bug.
"-mllvm",
"-riscv-disable-sextw-removal=true",
}
riscv64ArchVariantCflags = map[string][]string{}