summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/double2int.ll
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2018-07-18 14:11:22 +0000
committerSimon Atanasyan <simon@atanasyan.com>2018-07-18 14:11:22 +0000
commite9d7b3198a3dfd805198d52a6e2c8f3f63cb740a (patch)
treedd31f29ba18358c366259bf52cc8f37bd92f62ec /llvm/test/CodeGen/Mips/double2int.ll
parentf244fada1669f1c3e082b27df4f356f017611b5a (diff)
downloadbcm5719-llvm-e9d7b3198a3dfd805198d52a6e2c8f3f63cb740a.tar.gz
bcm5719-llvm-e9d7b3198a3dfd805198d52a6e2c8f3f63cb740a.zip
[mips] Fix predicate for the MipsTruncIntFP pattern
This is a follow-up to the rL337171. This patch fixes regression introduced by the r337171 and enables MipsTruncIntFP pattern. Differential revision: https://reviews.llvm.org/D49469 llvm-svn: 337392
Diffstat (limited to 'llvm/test/CodeGen/Mips/double2int.ll')
-rw-r--r--llvm/test/CodeGen/Mips/double2int.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Mips/double2int.ll b/llvm/test/CodeGen/Mips/double2int.ll
index 445ccb334a8..f0d8ad28100 100644
--- a/llvm/test/CodeGen/Mips/double2int.ll
+++ b/llvm/test/CodeGen/Mips/double2int.ll
@@ -1,4 +1,5 @@
-; RUN: llc -march=mips < %s | FileCheck %s
+; RUN: llc -march=mips -mcpu=mips32 < %s | FileCheck %s
+; RUN: llc -march=mips -mcpu=mips32r6 < %s | FileCheck %s
define i32 @f1(double %d) nounwind readnone {
entry:
OpenPOWER on IntegriCloud