[PATCH] D149946: [LoongArch] Define `ual` feature and override `allowsMisalignedMemoryAccesses`

Xi Ruoyao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun May 14 21:42:23 PDT 2023


xry111 added a comment.

OTOH if the Linux kernel is expected to emulate UAL, -march=generic should be //allowed// to generate unaligned access instructions for Linux targets.  Frankly I prefer this personally, But I'm not sure if it will be a good practice in general...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149946/new/

https://reviews.llvm.org/D149946



More information about the cfe-commits mailing list