summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-03-28 16:44:57 +0000
committerHal Finkel <hfinkel@anl.gov>2015-03-28 16:44:57 +0000
commitcd5553ed3912f4878ab0bbfffbf6f1d113d1521e (patch)
tree0e4e5e7647922974e7b37b59ae3e8e7bd05a8318 /llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
parent715007216cdfc498b7e37213489349956efcc15c (diff)
downloadbcm5719-llvm-cd5553ed3912f4878ab0bbfffbf6f1d113d1521e.tar.gz
bcm5719-llvm-cd5553ed3912f4878ab0bbfffbf6f1d113d1521e.zip
[ConstantFold] Don't fold ppc_fp128 <-> int bitcasts
PPC_FP128 is really the sum of two consecutive doubles, where the first double is always stored first in memory, regardless of the target endianness. The memory layout of i128, however, depends on the target endianness, and so we can't fold this without target endianness information. As a result, we must not do this folding in lib/IR/ConstantFold.cpp (it could be done instead in Analysis/ConstantFolding.cpp, but that's not done now). Fixes PR23026. llvm-svn: 233481
Diffstat (limited to 'llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud