Displaying 1 result from an estimated 1 matches for "54b0e740".
2018 Jul 11
4
What is the right lowering for misaligned memory access?
What should a well behaved back end do with a load or store with alignment
less than the natural alignment of the type?
I believe C++ considers such access to be UB. I'm not sure what the IR
semantics are.
I think my options are:
- Delete the operation / use undef
- Lower as if it is naturally aligned
- Lower via inefficient code that assumes align 1
Thanks,
Jon
-------------- next part