[PATCH] D76113: [ExpandMemCmp] Correctly set alignment of generated loads

Juneyoung Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 16 01:54:01 PDT 2020


aqjune updated this revision to Diff 250495.
aqjune added a comment.

- Add tests that have alignments initially given to fn args
- Let alignment be successfully inferred when gep is involved


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76113

Files:
  llvm/lib/CodeGen/ExpandMemCmp.cpp
  llvm/test/CodeGen/AArch64/bcmp-inline-small.ll
  llvm/test/CodeGen/PowerPC/memCmpUsedInZeroEqualityComparison.ll
  llvm/test/CodeGen/PowerPC/memcmp-mergeexpand.ll
  llvm/test/Transforms/ExpandMemCmp/X86/memcmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76113.250495.patch
Type: text/x-patch
Size: 55976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200316/e1e3261a/attachment.bin>


More information about the llvm-commits mailing list