[PATCH] D72492: GlobalISel: Implement lower for G_BITCAST

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 11:46:16 PST 2020


arsenm added a comment.

In D72492#1814750 <https://reviews.llvm.org/D72492#1814750>, @aemerson wrote:

> On the topic of this particular change: IIRC the semantics of bitcast is that it's equivalent of doing a store of the source type and a load of the dest type, which can have differing results on big endian targets. Is this lowering code safe in that case?


This doesn't touch memory, so the endianness shouldn't matter


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

https://reviews.llvm.org/D72492





More information about the llvm-commits mailing list