diff options
| author | Simon Atanasyan <simon@atanasyan.com> | 2019-07-17 08:11:40 +0000 |
|---|---|---|
| committer | Simon Atanasyan <simon@atanasyan.com> | 2019-07-17 08:11:40 +0000 |
| commit | 4c1e4408927e0c260beb30114ccaf48b017a5ecb (patch) | |
| tree | a7f183fc9b59b17f82afcbbf43ddfc66c86ac89a /llvm/lib/Target | |
| parent | a884afb6f8ea18f89de767f56f54b43c93fa8b85 (diff) | |
| download | bcm5719-llvm-4c1e4408927e0c260beb30114ccaf48b017a5ecb.tar.gz bcm5719-llvm-4c1e4408927e0c260beb30114ccaf48b017a5ecb.zip | |
[mips] Use mult/mflo pattern on 64-bit targets prior to MIPS64
The `MUL` instruction is available starting from the MIPS32/MIPS64 targets.
llvm-svn: 366301
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/Mips/Mips64InstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/Mips64InstrInfo.td b/llvm/lib/Target/Mips/Mips64InstrInfo.td index b5711004f70..7f35280f793 100644 --- a/llvm/lib/Target/Mips/Mips64InstrInfo.td +++ b/llvm/lib/Target/Mips/Mips64InstrInfo.td @@ -853,7 +853,7 @@ def : MipsPat<(i64 (sext (i32 (sub GPR32:$src, GPR32:$src2)))), (SUBu GPR32:$src, GPR32:$src2), sub_32)>; def : MipsPat<(i64 (sext (i32 (mul GPR32:$src, GPR32:$src2)))), (INSERT_SUBREG (i64 (IMPLICIT_DEF)), - (MUL GPR32:$src, GPR32:$src2), sub_32)>, ISA_MIPS3_NOT_32R6_64R6; + (MUL GPR32:$src, GPR32:$src2), sub_32)>, ISA_MIPS32_NOT_32R6_64R6; def : MipsPat<(i64 (sext (i32 (MipsMFHI ACC64:$src)))), (INSERT_SUBREG (i64 (IMPLICIT_DEF)), (PseudoMFHI ACC64:$src), sub_32)>; |

