1@ RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -show-encoding < %s | FileCheck %s
2  .syntax unified
3  .globl _func
4.thumb_func _foo
5.space 0x37c6
6_foo:
7@------------------------------------------------------------------------------
8@ B (thumb2 b.w encoding T4) rdar://12585795
9@------------------------------------------------------------------------------
10        b.w   0x3680c
11
12@ CHECK: b.w	#223244                    @ encoding: [0x36,0xf0,0x06,0xbc]
13