]> granicus.if.org Git - llvm/commitdiff
[mips] Add a valid test case to check the reason of the recent build-bot failure...
authorSimon Atanasyan <simon@atanasyan.com>
Wed, 20 Sep 2017 15:57:25 +0000 (15:57 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Wed, 20 Sep 2017 15:57:25 +0000 (15:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313761 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/Mips/micromips-neg-offset.s [new file with mode: 0644]

diff --git a/test/MC/Mips/micromips-neg-offset.s b/test/MC/Mips/micromips-neg-offset.s
new file mode 100644 (file)
index 0000000..92ea8ad
--- /dev/null
@@ -0,0 +1,8 @@
+# Check decoding beqz instruction with a negative offset
+
+# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux -mattr=micromips %s -o - \
+# RUN:   | llvm-objdump -d -mattr=micromips - | FileCheck %s
+
+# CHECK: 0:   8f 7e   beqz16  $6, -4
+
+beqz16  $6, -4