[PATCH] D42871: [InstCombine] Simplify MemTransferInst's source and dest alignments separately

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 12:17:15 PST 2018


efriedma added inline comments.


================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:245
+  SrcAlign = std::max(SrcAlign, CopySrcAlign);
+  DstAlign = std::max(DstAlign, CopyDstAlign);
 
----------------
Aren't SrcAlign and CopySrcAlign always the same?


Repository:
  rL LLVM

https://reviews.llvm.org/D42871





More information about the llvm-commits mailing list