[PATCH] D20705: LoadStoreVectorizer: Fix assert when merging pointer ops

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 15:40:21 PDT 2016


arsenm created this revision.
arsenm added a reviewer: escha.
arsenm added a subscriber: llvm-commits.
Herald added a reviewer: tstellarAMD.
Herald added a subscriber: mzolotukhin.

This needs to use inttoptr/ptrtoint if combining an int and pointer load.

Also an additional bitcast if merging pointers and FP types

http://reviews.llvm.org/D20705

Files:
  lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
  test/Transforms/LoadStoreVectorizer/AMDGPU/pointer-elements.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20705.58706.patch
Type: text/x-patch
Size: 14314 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160526/437717c4/attachment.bin>


More information about the llvm-commits mailing list