Skip to content
Commit 27d224fb authored by Mehdi Amini's avatar Mehdi Amini
Browse files

Fix LoopLoadElimination to keep original alignment on the inital hoisted store

This is fixing a bug where Loop Vectorization is widening a load but
with a lower alignment. Hoisting the load without propagating the alignment
will allow inst-combine to later deduce a higher alignment that what the pointer
actually is.

Differential Revision: https://reviews.llvm.org/D28408

llvm-svn: 291281
parent 218ecacb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment