[PATCH] R600/SI: Print more immediates in hex format

Matt Arsenault Matthew.Arsenault at amd.com
Sun Apr 13 23:52:59 PDT 2014


Print in decimal for inline immediates, and hex otherwise. Use hex 
always for offsets in addressing offsets. This approximately matches what the shader compiler does.


http://reviews.llvm.org/D3368

Files:
  lib/Target/R600/AMDGPUInstructions.td
  lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp
  lib/Target/R600/InstPrinter/AMDGPUInstPrinter.h
  lib/Target/R600/SIInstrInfo.td
  test/CodeGen/R600/32-bit-local-address-space.ll
  test/CodeGen/R600/64bit-kernel-args.ll
  test/CodeGen/R600/address-space.ll
  test/CodeGen/R600/fconst64.ll
  test/CodeGen/R600/gep-address-space.ll
  test/CodeGen/R600/infinite-loop.ll
  test/CodeGen/R600/kernel-args.ll
  test/CodeGen/R600/llvm.SI.tbuffer.store.ll
  test/CodeGen/R600/local-64.ll
  test/CodeGen/R600/local-memory-two-objects.ll
  test/CodeGen/R600/mubuf.ll
  test/CodeGen/R600/mulhu.ll
  test/CodeGen/R600/or.ll
  test/CodeGen/R600/private-memory.ll
  test/CodeGen/R600/smrd.ll
  test/CodeGen/R600/trunc.ll
  test/CodeGen/R600/work-item-intrinsics.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3368.1.patch
Type: text/x-patch
Size: 42900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140413/0ceebbd1/attachment.bin>


More information about the llvm-commits mailing list