[PATCH] [ARM64] Print preferred aliases for SFBM/UBFM in InstPrinter

Bradley Smith bradley.smith at arm.com
Fri Apr 25 02:23:30 PDT 2014


Hi t.p.northover,

The ARM64 InstPrinter does not print the preferred form of SBFM/UBFM instructions, this patch fixes this such that SBFIZ/SBFX/SXTB etc are instead printed where preferred. Additionally 64-bit variants of UXTB/H/W should never be printed since they are not part of the architecture, but rather a logical extension of the aliases.

http://reviews.llvm.org/D3503

Files:
  lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp
  test/CodeGen/AArch64/bitfield.ll
  test/CodeGen/AArch64/bool-loads.ll
  test/CodeGen/ARM64/aapcs.ll
  test/CodeGen/ARM64/bitfield-extract.ll
  test/CodeGen/ARM64/fast-isel-conversion.ll
  test/CodeGen/ARM64/fold-lsl.ll
  test/CodeGen/ARM64/shifted-sext.ll
  test/MC/ARM64/aliases.s
  test/MC/ARM64/bitfield-encoding.s
  test/MC/Disassembler/ARM64/bitfield.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3503.8833.patch
Type: text/x-patch
Size: 21849 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140425/cf261b6a/attachment.bin>


More information about the llvm-commits mailing list