[clang] [clang] Better bitfield access units (PR #65742)

YunQiang Su via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 14 16:24:42 PDT 2024


wzssyqa wrote:

> For MIPSr6, it is just like AARCH64, since some microarchitecture doesn't support mis-unaligned well in hardware level, so we need an options to disable it: kernel may need it.
> 
> For GCC, we have `-mno-unalgined-access`. We need also add this option to clang.

https://github.com/llvm/llvm-project/pull/85174
Add -m(no-)unaligned-access for MIPSr6.

https://github.com/llvm/llvm-project/pull/65742


More information about the cfe-commits mailing list