diff options
author | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2014-12-12 14:41:37 +0000 |
---|---|---|
committer | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2014-12-12 14:41:37 +0000 |
commit | f53f785a6e80c3cd28dfc306ea06e403d967591e (patch) | |
tree | 737a71930c62aa4ea8fc52956949c2c1103f31e0 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 9c971f93296a74aab9ad1cde3c878b84b5d93290 (diff) | |
download | llvm-f53f785a6e80c3cd28dfc306ea06e403d967591e.zip llvm-f53f785a6e80c3cd28dfc306ea06e403d967591e.tar.gz llvm-f53f785a6e80c3cd28dfc306ea06e403d967591e.tar.bz2 |
[mips] Support SELECT nodes for targets that don't have conditional-move instructions.
Summary:
For Mips targets that do not have conditional-move instructions, ie. targets
before MIPS32 and MIPS-IV, we have to insert a diamond control-flow
pattern in order to support SELECT nodes. In order to do that, we add
pseudo-instructions with a custom inserter that emits the necessary
control-flow that selects the correct value.
With this patch we add complete support for code generation of Mips-II targets
based on the LLVM test-suite.
Reviewers: dsanders
Reviewed By: dsanders
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6212
llvm-svn: 224124
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions