[compiler-rt] [Compiler-rt] Implement AEABI Unaligned Read/Write Helpers in compiler-rt (PR #167913)

Simi Pallipurath via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 17 07:18:27 PST 2025


simpal01 wrote:

> Okay, that's fine.
> 
> I suspect the performance penalty is too large at -Os; maybe it's okay at -Oz.

>From initial measurements, both -Os and -Oz appear to have a comparable performance degradation. This is the patch for the corresponding codegen emission https://github.com/llvm/llvm-project/pull/172672. 	At the moment, this implementation emits AEABI calls for unaligned accesses when building with -Os or -Oz together with -mno-unaligned-access.



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


More information about the llvm-commits mailing list