[all-commits] [llvm/llvm-project] f87563: [MC][ARM] add implicit immediate form for ldrsbt/l...

Stefan Agner via All-commits all-commits at lists.llvm.org
Thu Mar 19 15:06:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f87563661d6661fd4843beb8f391acd077b08dbe
      https://github.com/llvm/llvm-project/commit/f87563661d6661fd4843beb8f391acd077b08dbe
  Author: Stefan Agner <stefan at agner.ch>
  Date:   2020-03-19 (Thu, 19 Mar 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMInstrInfo.td
    M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
    M llvm/test/MC/ARM/arm-memory-instructions.s

  Log Message:
  -----------
  [MC][ARM] add implicit immediate form for ldrsbt/ldrht/ldrsht

Add pseudo instructions for ldrsbt/ldrht/ldrsht with implicit immediate
and add fall back C++ code to transform the instruction to the
equivalent LDRSBTi/LDRHTi/LDRSHTi form.

This is similar to how it has been done in commit
fb3950ec6312dfa4317d8cbf83a1db4aae7428ce

This fixes:
https://bugs.llvm.org/show_bug.cgi?id=45070




More information about the All-commits mailing list