diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2013-01-25 00:20:39 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2013-01-25 00:20:39 +0000 |
commit | d2047c60013a1a48cc3cef88003633463285b9ee (patch) | |
tree | 7c6f841c0e525c2f6579f934380a327216fcb3a8 /test/CodeGen/Mips/brdelayslot.ll | |
parent | b12a77199245a72c24dadbc039ed263d68d8e91a (diff) | |
download | external_llvm-d2047c60013a1a48cc3cef88003633463285b9ee.zip external_llvm-d2047c60013a1a48cc3cef88003633463285b9ee.tar.gz external_llvm-d2047c60013a1a48cc3cef88003633463285b9ee.tar.bz2 |
[mips] Set flag neverHasSideEffects flag on some of the floating point instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Mips/brdelayslot.ll')
-rw-r--r-- | test/CodeGen/Mips/brdelayslot.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/brdelayslot.ll b/test/CodeGen/Mips/brdelayslot.ll index 897fc97..c3f483a 100644 --- a/test/CodeGen/Mips/brdelayslot.ll +++ b/test/CodeGen/Mips/brdelayslot.ll @@ -67,3 +67,16 @@ if.end: ret void } +; Check that delay slot filler can place mov.s or mov.d in delay slot. +; +; Default: foo6: +; Default-NOT: nop + +define void @foo6(float %a0, double %a1) nounwind { +entry: + tail call void @foo7(double %a1, float %a0) nounwind + ret void +} + +declare void @foo7(double, float) + |