diff options
| author | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2015-03-02 12:47:32 +0000 |
|---|---|---|
| committer | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2015-03-02 12:47:32 +0000 |
| commit | e741eb2c7d85b0884d68e856f4391341a6c6f7e3 (patch) | |
| tree | dbeb951107b2da8de51ca80b7dc49e3ace1273ba /llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp | |
| parent | 00b7f95b122372d57b7d3f00ae435512024bb45e (diff) | |
| download | bcm5719-llvm-e741eb2c7d85b0884d68e856f4391341a6c6f7e3.tar.gz bcm5719-llvm-e741eb2c7d85b0884d68e856f4391341a6c6f7e3.zip | |
[mips] Optimize conditional moves where RHS is zero.
Summary:
When the RHS of a conditional move node is zero, we can utilize the $zero
register by inverting the conditional move instruction and by swapping the
order of its True/False operands.
Reviewers: dsanders
Differential Revision: http://reviews.llvm.org/D7945
llvm-svn: 230956
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions

