[all-commits] [llvm/llvm-project] 23ce53: [RISCV] Support -m[no-]strict-align options

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Thu Aug 3 03:13:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23ce5368409c760f3dd49d0f17f34772b0b869d8
      https://github.com/llvm/llvm-project/commit/23ce5368409c760f3dd49d0f17f34772b0b869d8
  Author: wangpc <wangpengcheng.pp at bytedance.com>
  Date:   2023-08-03 (Thu, 03 Aug 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Driver/Options.td
    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] Support -m[no-]strict-align options

To match GCC.

Options `-m[no-]strict-align` are aliases of `-m[no-]unaligned-access`
in clang, but there is no corresponding option in GCC.

Support of `-m[no-]unaligned-access` in GCC may be needed to align
Clang/GCC.

Reviewed By: kito-cheng

Differential Revision: https://reviews.llvm.org/D155456




More information about the All-commits mailing list