R600/SI: Change formatting of printed FP immediates
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 17 Sep 2014 17:32:13 +0000 (17:32 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 17 Sep 2014 17:32:13 +0000 (17:32 +0000)
commit507636288f9377961023be02ff1cfa1e21565e09
tree0397ffd3544d6022cbe1fe0da273201bb3313925
parentc6b1a7e577a0b9e9cff9f9b7ac35a2cde7c448d8
R600/SI: Change formatting of printed FP immediates

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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217964 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp
test/CodeGen/R600/fneg.ll
test/CodeGen/R600/imm.ll
test/CodeGen/R600/insert_vector_elt.ll
test/CodeGen/R600/llvm.sin.ll
test/CodeGen/R600/uint_to_fp.ll