[all-commits] [llvm/llvm-project] c9db79: [RISCV] Don't add -unaligned-scalar-mem to target ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Wed Aug 30 09:52:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9db799dda6928d52baad51802c4315a0312e69d
https://github.com/llvm/llvm-project/commit/c9db799dda6928d52baad51802c4315a0312e69d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-08-30 (Wed, 30 Aug 2023)
Changed paths:
M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
M clang/test/Driver/riscv-default-features.c
M clang/test/Driver/riscv-features.c
Log Message:
-----------
[RISCV] Don't add -unaligned-scalar-mem to target features by default.
Only pass it +unaligned-scalar-mem/-unaligned-scalar-mem if the
user has passed one of the alignment options.
This allows us to add unaligned-scalar-mem as a feature on CPUs
that support it.
Reviewed By: wangpc
Differential Revision: https://reviews.llvm.org/D159145
More information about the All-commits
mailing list