[PATCH] D46273: [InstCombine, ARM] Convert vld1 to llvm load

Alexandros Lamprineas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 10:06:59 PDT 2018


labrinea created this revision.
labrinea added reviewers: efriedma, llvm-commits.
Herald added a reviewer: javed.absar.
Herald added subscribers: chrib, kristof.beyls.

This patch converts a vector load intrinsic into a simple llvm load instruction. This is beneficial when the underlying object being addressed comes from a constant, since we get constant-folding for free.


https://reviews.llvm.org/D46273

Files:
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/Transforms/InstCombine/ARM/vld1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46273.144577.patch
Type: text/x-patch
Size: 5105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180430/8f55f6c8/attachment.bin>


More information about the llvm-commits mailing list