summaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/mips_abi_flags_xx.s
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2014-07-15 15:31:39 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2014-07-15 15:31:39 +0000
commit6d6a055c6003b339bad0eb9b11132507cb4f51e8 (patch)
treedf88b04ff92eca21d39a36bff1afeb029c24fea7 /test/MC/Mips/mips_abi_flags_xx.s
parent160c4cb678f529985594d7260dcaf9d5300f3bf8 (diff)
[mips] Correct .MIPS.abiflags fp_abi field for -mfpxx and without .module
Summary: Previously all the test cases set it after initialization with '.module fp=xx'. Differential Revision: http://reviews.llvm.org/D4489 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Mips/mips_abi_flags_xx.s')
-rw-r--r--test/MC/Mips/mips_abi_flags_xx.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/Mips/mips_abi_flags_xx.s b/test/MC/Mips/mips_abi_flags_xx.s
index 9192d0c4800b..d71eef373320 100644
--- a/test/MC/Mips/mips_abi_flags_xx.s
+++ b/test/MC/Mips/mips_abi_flags_xx.s
@@ -5,6 +5,10 @@
# RUN: llvm-readobj -sections -section-data -section-relocations - | \
# RUN: FileCheck %s -check-prefix=CHECK-OBJ
+# RUN: llvm-mc /dev/null -arch=mips -mcpu=mips32 -mattr=fpxx -filetype=obj -o - | \
+# RUN: llvm-readobj -sections -section-data -section-relocations - | \
+# RUN: FileCheck %s -check-prefix=CHECK-OBJ
+
# CHECK-ASM: .module fp=xx
# Checking if the Mips.abiflags were correctly emitted.