[PATCH] D155456: [RISCV] Support -m[no-]strict-align options

Wang Pengcheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 19 09:27:39 PDT 2023


wangpc 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"
+
----------------
arichardson wrote:
> This looks a bit fragile, can we just check all -target-feature flags instead and add --implicit-check-not='-target-feature" to Filecheck?
I'm so sorry that I may not get what you mean, can you tell me what kind of change I need to make?


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