[llvm-dev] What is the right lowering for misaligned memory access?

Jon Chesterfield via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 11 15:29:27 PDT 2018


Thank you all. That is an exceptionally clear response.

For completeness, "emitting inefficient code" is your only option _if_
>  your target really has no better option of implementing unaligned
> accesses semantics.
>

There the usual tradeoffs in the implementation. Simplicity / correctness /
performance / memory / dev time. Deleting the instructions fails on
correctness and per byte is too slow. I'll write something reasonable for
the ISA.

Cheers

Jon

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180711/54b0e740/attachment.html>


More information about the llvm-dev mailing list