[PATCH] D64895: [GlobalISel] Translate calls to memcpy et al to G_INTRINSIC_W_SIDE_EFFECTs and legalize later.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 14:39:54 PDT 2019


aemerson added a comment.

Sigh, I think we also need to pass through the alignments of the src and dest parameters. SelectionDAG does this during building using `MemCpyInst::{getDestAlignment(),getSrcAlignment()}` and I think we currently lose that information during translation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64895





More information about the llvm-commits mailing list