summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorYunzhong Gao <Yunzhong_Gao@playstation.sony.com>2014-03-18 17:55:18 +0000
committerYunzhong Gao <Yunzhong_Gao@playstation.sony.com>2014-03-18 17:55:18 +0000
commitfcdc45ff2df34f38bde572ed3d5d2481edd03deb (patch)
tree71eeda2f28aec4150d29fbf8e845feba10c10412 /llvm/lib/CodeGen
parenta9dafe679319112d26c1d2edb1bb26952c2983db (diff)
downloadbcm5719-llvm-fcdc45ff2df34f38bde572ed3d5d2481edd03deb.tar.gz
bcm5719-llvm-fcdc45ff2df34f38bde572ed3d5d2481edd03deb.zip
Creating a printing policy for "half":
Since "half" is an OpenCL keyword and clang accepts __fp16 as an extension for other languages, error messages and metadata (and hence debug info) should refer to the half-precision floating point as "__fp16" instead of "half" when compiling for non-OpenCL languages. This patch creates a new printing policy for half in a similar manner to what is done for bool and wchar_t. Differential Revision: http://llvm-reviews.chandlerc.com/D2952 llvm-svn: 204164
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud