[PATCH] D104255: [InterleaveAccess] Copy fast math flags when adjusting binary operators in interleave access pass

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 14 12:04:33 PDT 2021


dmgreen created this revision.
dmgreen added reviewers: spatel, SjoerdMeijer, efriedma, jsji, samtebbs.
Herald added a subscriber: hiraditya.
dmgreen requested review of this revision.
Herald added a project: LLVM.

The Interleave Access pass will convert shuffle(binop(load, load)) to binop(shuffle(load), shuffle(load)), in order to create more interleaving load patterns (VLD2/3/4) that might have been messed up by instcombine. As shown in D104247 <https://reviews.llvm.org/D104247> we were missing copying IR flags to the new instruction though, which should just be kept the same as the original instruction.


https://reviews.llvm.org/D104255

Files:
  llvm/lib/CodeGen/InterleavedAccessPass.cpp
  llvm/test/Transforms/InterleavedAccess/AArch64/binopshuffles-inseltpoison.ll
  llvm/test/Transforms/InterleavedAccess/AArch64/binopshuffles.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104255.351951.patch
Type: text/x-patch
Size: 9639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210614/ee5fb9a0/attachment.bin>


More information about the llvm-commits mailing list