diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-09-03 15:24:29 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-09-03 15:24:29 +0000 |
commit | c4e0c1075b87e345f6dbb2d237be8b2ea1935d1b (patch) | |
tree | e8a9c6834dcb40b83cf7beb6561b6df480f4f17f /llvm/lib/Bitcode/Reader/BitReader.cpp | |
parent | 102c68786c24b55fcfcaf53c62998af192151c52 (diff) | |
download | llvm-c4e0c1075b87e345f6dbb2d237be8b2ea1935d1b.zip llvm-c4e0c1075b87e345f6dbb2d237be8b2ea1935d1b.tar.gz llvm-c4e0c1075b87e345f6dbb2d237be8b2ea1935d1b.tar.bz2 |
CGBuiltin: Use @llvm.fabs rather than fabs libcall when emitting builtins
Using the intrinsic allows the SelectionDAGBuilder to turn this call
into the FABS Node and also the intrinsic is something the vectorizer knows
how to vectorize.
This patch also sets the readnone attribute on this call, which should
enable additional optmizations.
llvm-svn: 217042
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitReader.cpp')
0 files changed, 0 insertions, 0 deletions