From 20546c697f301cd73b3d32d8e33f8a5ef3f9ff27 Mon Sep 17 00:00:00 2001 From: Tilmann Scheller Date: Mon, 30 Sep 2013 18:50:51 +0000 Subject: [PATCH] [ARM] Fix Thumb(-2) diagnostic tests. Changing the diagnostic message for out of range branch targets in 191686 broke the tests. The diagnostic message for out of range branch targets was changed to be more consistent with the other diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191691 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/ARM/thumb-diagnostics.s | 12 ++++++------ test/MC/ARM/thumb2-diagnostics.s | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/test/MC/ARM/thumb-diagnostics.s b/test/MC/ARM/thumb-diagnostics.s index c29960902e5..8f86323e257 100644 --- a/test/MC/ARM/thumb-diagnostics.s +++ b/test/MC/ARM/thumb-diagnostics.s @@ -165,12 +165,12 @@ error: invalid operand for instruction b #1048576 b #10323 -@ CHECK-ERRORS: error: Branch target out of range -@ CHECK-ERRORS: error: Branch target out of range -@ CHECK-ERRORS: error: Branch target out of range -@ CHECK-ERRORS: error: Branch target out of range -@ CHECK-ERRORS: error: Branch target out of range -@ CHECK-ERRORS: error: Branch target out of range +@ CHECK-ERRORS: error: branch target out of range +@ CHECK-ERRORS: error: branch target out of range +@ CHECK-ERRORS: error: branch target out of range +@ CHECK-ERRORS: error: branch target out of range +@ CHECK-ERRORS: error: branch target out of range +@ CHECK-ERRORS: error: branch target out of range @------------------------------------------------------------------------------ @ WFE/WFI/YIELD - are not supported pre v6T2 diff --git a/test/MC/ARM/thumb2-diagnostics.s b/test/MC/ARM/thumb2-diagnostics.s index 7450e745c82..6ac2db02cca 100644 --- a/test/MC/ARM/thumb2-diagnostics.s +++ b/test/MC/ARM/thumb2-diagnostics.s @@ -64,9 +64,9 @@ b.w #16777216 b.w #1592313 -@ CHECK-ERRORS: error: Branch target out of range -@ CHECK-ERRORS: error: Branch target out of range -@ CHECK-ERRORS: error: Branch target out of range -@ CHECK-ERRORS: error: Branch target out of range -@ CHECK-ERRORS: error: Branch target out of range -@ CHECK-ERRORS: error: Branch target out of range +@ CHECK-ERRORS: error: branch target out of range +@ CHECK-ERRORS: error: branch target out of range +@ CHECK-ERRORS: error: branch target out of range +@ CHECK-ERRORS: error: branch target out of range +@ CHECK-ERRORS: error: branch target out of range +@ CHECK-ERRORS: error: branch target out of range