summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/2012-07-25-LoadPart.ll
Commit message (Collapse)AuthorAgeFilesLines
* llvm/ConstantFolding.cpp: Make ReadDataFromGlobal() and ↵NAKAMURA Takumi2012-11-081-4/+6
| | | | | | FoldReinterpretLoadFromConstPtr() Big-endian-aware. llvm-svn: 167595
* Don't perform an overaligned load in this test, since that's undefinedDuncan Sands2012-07-251-1/+1
| | | | | | behaviour that might be exploited one day. llvm-svn: 160714
* When folding a load from a global constant, if the load started in the middleDuncan Sands2012-07-251-0/+12
of an array element (rather than at the beginning of the element) and extended into the next element, then the load from the second element was being handled wrong due to incorrect updating of the notion of which byte to load next. This fixes PR13442. Thanks to Chris Smowton for reporting the problem, analyzing it and providing a fix. llvm-svn: 160711
OpenPOWER on IntegriCloud