From 126440a78a8fb906f222448337fcf89a6e0df454 Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Wed, 20 Sep 2017 15:57:25 +0000 Subject: [PATCH] [mips] Add a valid test case to check the reason of the recent build-bot failure. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313761 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/Mips/micromips-neg-offset.s | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/MC/Mips/micromips-neg-offset.s diff --git a/test/MC/Mips/micromips-neg-offset.s b/test/MC/Mips/micromips-neg-offset.s new file mode 100644 index 00000000000..92ea8ad23d4 --- /dev/null +++ b/test/MC/Mips/micromips-neg-offset.s @@ -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 -- 2.40.0