[PATCH] D48649: [ARM] [Assembler] Support negative immediates: cover few missing cases

Volodymyr Turanskyy via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 27 08:14:14 PDT 2018


voltur01 created this revision.
voltur01 added reviewers: olista01, john.brawn.
Herald added a reviewer: javed.absar.
Herald added subscribers: llvm-commits, chrib, kristof.beyls.

Support for negative immediates was implemented in 
https://reviews.llvm.org/rL298380, however few instruction options were missing.

This change adds negative immediates support and respective tests 
for the following:

  ADD
  ADDS
  ADDS.W
  AND.W
  ANDS
  BIC.W
  BICS
  BICS.W
  SUB
  SUBS
  SUBS.W


Repository:
  rL LLVM

https://reviews.llvm.org/D48649

Files:
  lib/Target/ARM/ARMInstrThumb2.td
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  test/MC/ARM/negative-immediates.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48649.153095.patch
Type: text/x-patch
Size: 6153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180627/0b92595d/attachment.bin>


More information about the llvm-commits mailing list