]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
CodeGen: soften f16 type by default instead of marking legal.
authorTim Northover <tnorthover@apple.com>
Fri, 18 Jul 2014 12:41:46 +0000 (12:41 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 18 Jul 2014 12:41:46 +0000 (12:41 +0000)
commit0afed0322937a3e510338a26d713dbf259f6689e
treea4be749373f75634e52f69b9b19c94309d282702
parentdc80347f0e75da01fdc9506ff22985e80dd3d0ba
CodeGen: soften f16 type by default instead of marking legal.

Actual support for softening f16 operations is still limited, and can be added
when it's needed.  But Soften is much closer to being a useful thing to try
than keeping it Legal when no registers can actually hold such values.

Longer term, we probably want something between Soften and Promote semantics
for most targets, it'll be more efficient to promote the 4 basic operations to
f32 than libcall them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213372 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/CodeGen/TargetLoweringBase.cpp
test/CodeGen/AArch64/half.ll [new file with mode: 0644]
test/CodeGen/ARM/half.ll [new file with mode: 0644]
test/CodeGen/NVPTX/half.ll [new file with mode: 0644]
test/CodeGen/R600/half.ll [new file with mode: 0644]
test/CodeGen/X86/half.ll [new file with mode: 0644]