summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-03-31 19:53:03 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-03-31 19:53:03 +0000
commit8edfaee7be8ba17cd054a90055c91a18c4d239e3 (patch)
treef2cc356ac8fcce91d9ab50e1eff2e762995700a0 /llvm/lib/IR/Function.cpp
parent3c99441ef4c5325ac3d9e771defae20907245400 (diff)
downloadbcm5719-llvm-8edfaee7be8ba17cd054a90055c91a18c4d239e3.tar.gz
bcm5719-llvm-8edfaee7be8ba17cd054a90055c91a18c4d239e3.zip
AMDGPU: Remove unnecessary ands when f16 is legal
Add a new node to act as a fancy bitcast from f16 operations to i32 that implicitly zero the high 16-bits of the result. Alternatively could try making v2f16 legal and canonicalizing on build_vectors. llvm-svn: 299246
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud