Merge "Really disable auto-vectorization." into main am: 1e33a311c6

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

Change-Id: I192096adfe4a5accaf156bae869e2900a3d5c78b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2024-01-23 19:09:18 +00:00
committed by Automerger Merge Worker

View File

@@ -30,7 +30,7 @@ var (
"-Xclang -target-feature -Xclang +unaligned-scalar-mem",
"-Xclang -target-feature -Xclang +unaligned-vector-mem",
// Until https://gitlab.com/qemu-project/qemu/-/issues/1976 is fixed...
"-fno-vectorize",
"-mno-implicit-float",
// (https://github.com/google/android-riscv64/issues/124)
"-mllvm -jump-is-expensive=false",
}
@@ -43,8 +43,6 @@ var (
// Equivalent to "-munaligned-access", but our clang doesn't have that yet.
"-Xclang -target-feature -Xclang +unaligned-scalar-mem",
"-Xclang -target-feature -Xclang +unaligned-vector-mem",
// Until https://gitlab.com/qemu-project/qemu/-/issues/1976 is fixed...
"-Wl,-mllvm,-vectorize-loops=false",
// We should change the default for this in clang, but for now...
// (https://github.com/google/android-riscv64/issues/124)
"-Wl,-mllvm -Wl,-jump-is-expensive=false",