summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/ExtractFunction.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-12-10 17:43:13 +0000
committerDuncan Sands <baldrick@free.fr>2007-12-10 17:43:13 +0000
commit5c65cb4633e2e6be7578751ff684f79e6dc52708 (patch)
treeefddfa8fe172e985a58bab101342287b4525b4d5 /llvm/lib/Transforms/IPO/ExtractFunction.cpp
parent80c54698e8438dbd41c9b52c595cf80c1f3e60cf (diff)
downloadbcm5719-llvm-5c65cb4633e2e6be7578751ff684f79e6dc52708.tar.gz
bcm5719-llvm-5c65cb4633e2e6be7578751ff684f79e6dc52708.zip
Fix PR1836: in the interpreter, read and write apints
using the minimum possible number of bytes. For little endian targets run on little endian machines, apints are stored in memory from LSB to MSB as before. For big endian targets on big endian machines they are stored from MSB to LSB which wasn't always the case before (if the target and host endianness doesn't match values are stored according to the host's endianness). Doing this requires knowing the endianness of the host, which is determined when configuring - thanks go to Anton for this. Only having access to little endian machines I was unable to properly test the big endian part, which is also the most complicated... llvm-svn: 44796
Diffstat (limited to 'llvm/lib/Transforms/IPO/ExtractFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud