[PATCH] D149443: [ARM] add Thumb-1 8-bit movs/adds relocations to LLVM

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 20 17:04:53 PDT 2023


MaskRay accepted this revision.
MaskRay added inline comments.


================
Comment at: llvm/test/MC/ARM/thumb-fixups.s:1
+@ RUN: llvm-mc -triple armv6m-unknown-unknown %s --show-encoding > %t
+@ RUN: FileCheck < %t %s
----------------
We normally just pipe the output to FileCheck, e.g. `| FileCheck %s`


================
Comment at: llvm/test/MC/ARM/thumb-fixups.s:9
+
+@ CHECK: movs    r3, :upper8_15:_foo             @ encoding: [A,0x23]
+@ CHECK-NEXT: @   fixup A - offset: 0, value: _foo, kind: fixup_arm_thumb_upper_8_15
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149443/new/

https://reviews.llvm.org/D149443



More information about the cfe-commits mailing list