| @RUN: llvm-mc -triple armv7-base-apple-darwin %s | FileCheck --check-prefix=CHECK %s |
| @RUN: llvm-mc -triple thumbv7-base-apple-darwin %s | FileCheck --check-prefix=CHECK %s |
| @ Check that ldr to constant pool correctly transfers the condition codes |
| .section __TEXT,a,regular,pure_instructions |
| @ loading multiple constants |
| .section __TEXT,b,regular,pure_instructions |
| .section __TEXT,d,regular,pure_instructions |
| @ Can use the narrow Thumb mov as it does not set flags in an IT block |
| @ Must use the wide Thumb mov if the constant can't be represented |
| @ CHECK-ARM moveq r2, #520093696 |
| @ CHECK-THUMB2 moveq.w r2, #520093696 |
| @ CHECK: movwne r3, #4660 |
| @ CHECK: .section __TEXT,a,regular,pure_instructions |
| @ CHECK: .section __TEXT,b,regular,pure_instructions |