summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-diff/llvm-diff.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2014-09-18 08:28:39 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2014-09-18 08:28:39 +0000
commite747362b56c9fb03dd722f3f92329dc238011fa9 (patch)
treec26cdb5b1a7ef25af29a8da7b2a789f58b661a54 /llvm/tools/llvm-diff/llvm-diff.cpp
parent1d3a312e2d625beda6ed038d0ca45f488d09ce6e (diff)
downloadbcm5719-llvm-e747362b56c9fb03dd722f3f92329dc238011fa9.tar.gz
bcm5719-llvm-e747362b56c9fb03dd722f3f92329dc238011fa9.zip
[mips] Remove custom versions of CCState::AnalyzeReturn() and CCState::AnalyzeCallReturn().
Summary: The N32/N64 ABI's return f128 values in $f0 and $f2 for hard-float and $v0 and $a0 for soft-float. The registers used in the soft-float case differ from the usual $v0, and $v1 specified for return values. Both cases were previously handled by duplicating the CCState::AnalyzeReturn() and CCState::AnalyzeCallReturn() functions and modifying them to delegate to a different assignment function for f128 and further replace the register type for the hard-float case. There is a simpler way to do both of these. We now use the common functions and select an initial assignment function based on whether the original type is f128 or not. We then handle the hard-float case using CCBitConvertToType<>. No functional change. Reviewers: vmedic Reviewed By: vmedic Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5269 llvm-svn: 218036
Diffstat (limited to 'llvm/tools/llvm-diff/llvm-diff.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud