[PATCH] D14260: Optimize store of "bitcast" from vector to aggregate.

Arch D. Robison via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 14:29:25 PST 2015


ArchDRobison created this revision.
ArchDRobison added reviewers: mzolotukhin, majnemer, aschwaighofer.
ArchDRobison added subscribers: loladiro, llvm-commits.

This patch is what was the "instcombine" portion of [[ http://reviews.llvm.org/D14185 | D14185 ]], with an additional test added  (see julia_pseudovec in test/Transforms/InstCombine/insert-val-extract-elem.ll).  The patch causes instcombine to replace sequences of extractelement-insertvalue-store that act essentially like a bitcast followed by a store.

http://reviews.llvm.org/D14260

Files:
  lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
  test/Transforms/InstCombine/insert-val-extract-elem.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14260.38984.patch
Type: text/x-patch
Size: 4826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151102/ac843a36/attachment.bin>


More information about the llvm-commits mailing list