libclc: Rename [add|sub]_sat.ll to [add|sub]_sat_if.ll

configure.py allows overloading *.cl with *.ll, but will only ever build
the first file listed in SOURCES of ${file}.cl and ${file}.ll

add_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, fixing
CL usage of these functions.

Tested on clover/r600g.

Patch by: Aaron Watry

llvm-svn: 185000
This commit is contained in:
Tom Stellard 2013-06-26 18:21:31 +00:00
parent a30713710c
commit 29b5b9816b
4 changed files with 4 additions and 2 deletions

View File

@ -6,11 +6,11 @@ geometric/normalize.cl
integer/abs.cl
integer/abs_diff.cl
integer/add_sat.cl
integer/add_sat.ll
integer/add_sat_if.ll
integer/add_sat_impl.ll
integer/rotate.cl
integer/sub_sat.cl
integer/sub_sat.ll
integer/sub_sat_if.ll
integer/sub_sat_impl.ll
math/fmax.cl
math/fmin.cl

2
libclc/ptx/lib/OVERRIDES Normal file
View File

@ -0,0 +1,2 @@
integer/add_sat_if.ll
integer/sub_sat_if.ll