aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-02-12 22:43:52 +0000
committerHal Finkel <hfinkel@anl.gov>2015-02-12 22:43:52 +0000
commit271e9f2870e2374358e4888f674627543f1117a9 (patch)
treec7e457d4a366370cf92da642748a702eb0dcc015 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent7d71622c8fd0846d99cd0fb8878ecf255848de0a (diff)
downloadllvm-271e9f2870e2374358e4888f674627543f1117a9.zip
llvm-271e9f2870e2374358e4888f674627543f1117a9.tar.gz
llvm-271e9f2870e2374358e4888f674627543f1117a9.tar.bz2
[SDAG] Don't try to use FP_EXTEND/FP_ROUND for int<->fp promotions
The PowerPC backend has long promoted some floating-point vector operations (such as select) to integer vector operations. Unfortunately, this behavior was broken by r216555. When using FP_EXTEND/FP_ROUND for promotions, we must check that both the old and new types are floating-point types. Otherwise, we must use BITCAST as we did prior to r216555 for everything. llvm-svn: 228969
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions