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

Andreas Beckmann anbe at moszumanska.debian.org
Tue Sep 8 10:53:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository libclc.

commit 547d4512a5515de8dbbe433a4502f2e0ff20fce5
Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Wed Jun 26 18:21:31 2013 +0000

    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
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@185000 91177308-0d34-0410-b5e6-96231b3b80d8
---
 generic/lib/SOURCES                               | 4 ++--
 generic/lib/integer/{add_sat.ll => add_sat_if.ll} | 0
 generic/lib/integer/{sub_sat.ll => sub_sat_if.ll} | 0
 ptx/lib/OVERRIDES                                 | 2 ++
 4 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/generic/lib/SOURCES b/generic/lib/SOURCES
index 495b3e7..7f27ec4 100644
--- a/generic/lib/SOURCES
+++ b/generic/lib/SOURCES
@@ -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
diff --git a/generic/lib/integer/add_sat.ll b/generic/lib/integer/add_sat_if.ll
similarity index 100%
rename from generic/lib/integer/add_sat.ll
rename to generic/lib/integer/add_sat_if.ll
diff --git a/generic/lib/integer/sub_sat.ll b/generic/lib/integer/sub_sat_if.ll
similarity index 100%
rename from generic/lib/integer/sub_sat.ll
rename to generic/lib/integer/sub_sat_if.ll
diff --git a/ptx/lib/OVERRIDES b/ptx/lib/OVERRIDES
new file mode 100644
index 0000000..475162c
--- /dev/null
+++ b/ptx/lib/OVERRIDES
@@ -0,0 +1,2 @@
+integer/add_sat_if.ll
+integer/sub_sat_if.ll

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list