[PATCH] D21496: LoadCombine BugFixes : Combine negative index GEPS and fix load aliasing
River Riddle via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 18 15:12:48 PDT 2016
rriddle created this revision.
rriddle added a reviewer: Bigcheese.
rriddle added a subscriber: llvm-commits.
Removed the alias set tracker and added individual load aliasing checks for each individual chain.
Changed the offset from uint64 to int64 to be able to combine loads formed from a negative index GEP
Added support to continue combining when a load chain is not a power of 2.
// A test case for the aliasing and negative indexing
{F2081753}
// The old result
{F2081755}
// The new result
{F2081756}
http://reviews.llvm.org/D21496
Files:
/Users/rriddle/Desktop/llvm/llvm/lib/Transforms/Scalar/LoadCombine.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21496.61175.patch
Type: text/x-patch
Size: 10973 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160618/58de09e0/attachment.bin>
More information about the llvm-commits
mailing list