[PATCH] R600/SI: Change formatting of printed FP immediates

Matt Arsenault Matthew.Arsenault at amd.com
Mon Sep 15 10:20:36 PDT 2014


Only 1 decimal place should be printed for inline immediates. 
Other constants should be hex constants.
    
Does not include f64 tests because folding those inline
immediates currently does not work.

http://reviews.llvm.org/D5357

Files:
  lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp
  test/CodeGen/R600/imm.ll
  test/CodeGen/R600/uint_to_fp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5357.13716.patch
Type: text/x-patch
Size: 9041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140915/a97efbb3/attachment.bin>


More information about the llvm-commits mailing list