summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorWill Schmidt <will_schmidt@vnet.ibm.com>2014-11-06 14:58:06 +0000
committerWill Schmidt <will_schmidt@vnet.ibm.com>2014-11-06 14:58:06 +0000
commitae4236ac6aca3020c5ffdbce5d2b1d9ef3597d53 (patch)
tree05ae8b0a1cab9f91d7dff36620a1461c425eb68b /clang/lib/Basic/Targets.cpp
parent26cfbea73872e0553a8449bfb14e12102414185e (diff)
downloadbcm5719-llvm-ae4236ac6aca3020c5ffdbce5d2b1d9ef3597d53.tar.gz
bcm5719-llvm-ae4236ac6aca3020c5ffdbce5d2b1d9ef3597d53.zip
Use GET_CURRENT_FRAME() to calculate the memory layout for power. This works
for both PPC64 Big and Little endian modes, so also eliminates the need for the BIG_ENDIAN/LITTLE_ENDIAN #ifdeffery. By trial and error, it also looks like the kPPC64_ShadowOffset64 value is valid using (1ULL << 41) for both BE and LE, so that #if/#elif/#endif block has also been simplified. Differential Revision: http://reviews.llvm.org/D6044 llvm-svn: 221457
Diffstat (limited to 'clang/lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud