ptx: Use __clc_nextafter to implement nextafterusing clang builtin results in external library callReviewer: Jeroen KetemaSigned-off-by: Jan Vesely <[email protected]>llvm-svn: 315191
Add vload_half helpers for ptxThe removes the vload_half unresolved calls from the nvptx libraries.Reviewed-by: Jan Vesely <[email protected]>llvm-svn: 314998
Add vstore_half helpers for ptxReviewed-by: Jan Vesely <[email protected]>llvm-svn: 314925
integer/sub_sat: Use clang builtin instead of llvm asmreviewer: Tom StellardSigned-off-by: Jan Vesely <[email protected]>llvm-svn: 314703
integer/add_sat: Use clang builtin instead of llvm asmreviewer: Tom StellardSigned-off-by: Jan Vesely <[email protected]>llvm-svn: 314702
libclc: Rename [add|sub]_sat.ll to [add|sub]_sat_if.llconfigure.py allows overloading *.cl with *.ll, but will only ever buildthe first file listed in SOURCES of ${file}.cl and ${file}.lladd_sat
libclc: Rename [add|sub]_sat.ll to [add|sub]_sat_if.llconfigure.py allows overloading *.cl with *.ll, but will only ever buildthe first file listed in SOURCES of ${file}.cl and ${file}.lladd_sat, sub_sat, (and the soon to be submitted clz) all define interfaces in${function_name}.ll which are implemented in ${function_name}_impl.ll.Renaming the interface files is enough to get them to build again, fixingCL usage of these functions.Tested on clover/r600g.Patch by: Aaron Watryllvm-svn: 185000
show more ...
Do not use linkonce_odr linkage in .ll files. This prevented themfrom being linked into the library under lazy linkage.llvm-svn: 161314
Implement sub_sat builtin. Patch by Lei Mou!llvm-svn: 161312
Initial commit.llvm-svn: 147756