diff options
| author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2008-08-13 07:13:40 +0000 |
|---|---|---|
| committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2008-08-13 07:13:40 +0000 |
| commit | 92c64ae2d04126ad84f71cd749324db2b3e6a2cd (patch) | |
| tree | 859697860ffe502cafd0a03960c27beb47dbf655 /llvm/lib/Target/Mips/MipsISelLowering.h | |
| parent | 703a64c38de654831d53d2d29484995c3e6aca87 (diff) | |
| download | bcm5719-llvm-92c64ae2d04126ad84f71cd749324db2b3e6a2cd.tar.gz bcm5719-llvm-92c64ae2d04126ad84f71cd749324db2b3e6a2cd.zip | |
Removed SELECT_CC custom lowering. This is not needed anymore, the SELECT node
is lowered properly and covers everything LowerSELECT_CC did.
Added method printUnsignedImm in AsmPrinter to print uimm16 operands. This
avoid the ugly instruction by instruction checking in printOperand.
Added a swap instruction present in the allegrex core.
Added two conditional instructions present in the allegrex core : MOVZ and MOVN.
They both allow a more efficient SELECT operation for integers.
Also added SELECT patterns to optimize MOVZ and MOVN usage.
The brcond and setcc patterns were cleaned: redundant and suboptimal patterns
were
removed. The suboptimals were replaced by more efficient ones.
Fixed some instructions that were using immZExt16 instead of immSExt16.
llvm-svn: 54724
Diffstat (limited to 'llvm/lib/Target/Mips/MipsISelLowering.h')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsISelLowering.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelLowering.h b/llvm/lib/Target/Mips/MipsISelLowering.h index 3c8afb81a8b..9d8a756e76e 100644 --- a/llvm/lib/Target/Mips/MipsISelLowering.h +++ b/llvm/lib/Target/Mips/MipsISelLowering.h @@ -40,6 +40,9 @@ namespace llvm { // Handle gp_rel (small data/bss sections) relocation. GPRel, + // Conditional Move + CMov, + // Select CC Pseudo Instruction SelectCC, @@ -99,7 +102,6 @@ namespace llvm { SDValue LowerGlobalTLSAddress(SDValue Op, SelectionDAG &DAG); SDValue LowerJumpTable(SDValue Op, SelectionDAG &DAG); SDValue LowerRET(SDValue Op, SelectionDAG &DAG); - SDValue LowerSELECT_CC(SDValue Op, SelectionDAG &DAG); SDValue LowerSELECT(SDValue Op, SelectionDAG &DAG); SDValue LowerSETCC(SDValue Op, SelectionDAG &DAG); |

