summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2019-07-17 08:11:40 +0000
committerSimon Atanasyan <simon@atanasyan.com>2019-07-17 08:11:40 +0000
commit4c1e4408927e0c260beb30114ccaf48b017a5ecb (patch)
treea7f183fc9b59b17f82afcbbf43ddfc66c86ac89a /llvm/test
parenta884afb6f8ea18f89de767f56f54b43c93fa8b85 (diff)
downloadbcm5719-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/test')
-rw-r--r--llvm/test/CodeGen/Mips/llvm-ir/mul.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Mips/llvm-ir/mul.ll b/llvm/test/CodeGen/Mips/llvm-ir/mul.ll
index b6f535abdee..c75bda3f394 100644
--- a/llvm/test/CodeGen/Mips/llvm-ir/mul.ll
+++ b/llvm/test/CodeGen/Mips/llvm-ir/mul.ll
@@ -155,6 +155,9 @@ entry:
; M2: mult $4, $5
; M2: mflo $2
+ ; M4: mult $4, $5
+ ; M4: mflo $1
+
; 32R1-R5: mul $2, $4, $5
; 32R6: mul $2, $4, $5
OpenPOWER on IntegriCloud