summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/alias_align.ll
Commit message (Collapse)AuthorAgeFilesLines
* [DAGCombine] Fix alignment for offset loads/storesDavid Green2018-06-211-0/+25
The alignment parameter to getExtLoad is treated as a base alignment, not the alignment of the load (base + offset). When we infer a better alignment for a Ptr we need to ensure that it applies to the base to prevent the alignment on the load from being wrong. This fixes a bug where the alignment could then be used to incorrectly prove noalias between a load and a store, leading to a miscompile. Differential Revision: https://reviews.llvm.org/D48029 llvm-svn: 335210
OpenPOWER on IntegriCloud