[PATCH] D155456: [RISCV] Support -m[no-]strict-align options
Alexander Richardson via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 18 23:00:39 PDT 2023
arichardson added inline comments.
================
Comment at: clang/test/Driver/riscv-features.c:41
+// DEFAULT: "-target-feature" "-unaligned-scalar-mem"
+// DEFAULT-NOT: "-target-feature" "+unaligned-scalar-mem"
+
----------------
This looks a bit fragile, can we just check all -target-feature flags instead and add --implicit-check-not='-target-feature" to Filecheck?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155456/new/
https://reviews.llvm.org/D155456
More information about the cfe-commits
mailing list