llvm/ConstantFolding.cpp: Make ReadDataFromGlobal() and FoldReinterpretLoadFromConstP...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 8 Nov 2012 20:34:25 +0000 (20:34 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 8 Nov 2012 20:34:25 +0000 (20:34 +0000)
commit562b1d883f304e52b237e0af2ff7e4a9e02100cd
treecf37e1853faa14e23b4dd42c6538c02c10f6f234
parent6b370e615ca5b3ef17ed4fe4fa891fab1e2bdd9a
llvm/ConstantFolding.cpp: Make ReadDataFromGlobal() and FoldReinterpretLoadFromConstPtr() Big-endian-aware.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167595 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ConstantFolding.cpp
test/Transforms/ConstProp/loads.ll
test/Transforms/GVN/rle.ll
test/Transforms/InstCombine/2012-07-25-LoadPart.ll
test/Transforms/SCCP/loadtest.ll