Change to Clang/LLVM ToT(Top of the Tree)
authorFeng, Boqun <boqun.feng@intel.com>
Wed, 28 Nov 2012 08:21:10 +0000 (16:21 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Fri, 29 Mar 2013 11:35:15 +0000 (19:35 +0800)
commitc2ee0da56ecbadde7956aeb3144c9b44c66943f1
tree26f08e04981acc0909e66c66dcd1f3a157143416
parent6aaddf44aa3dc1fe742224972da019cc77574342
Change to Clang/LLVM ToT(Top of the Tree)

Two minor changed in this patch

1.files that use llvm new api.
backend/src/llvm/llvm_{gen_backend,passes}.cpp

2.change backend IR from ptx32 to nvptx.
all test cases in utest passed [SUSSECC], but may give wrong output.
for example, app_mandelbrot makes a wrong picture.
silk's cl_gl_fill passed.

revision of Clang/LLVM components:
llvm r168773
clang r168774
compiler-rt r168700

Signed-off-by: Feng, Boqun <boqun.feng@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong>
backend/kernels/compile.sh [new file with mode: 0755]
backend/src/backend/program.cpp
backend/src/llvm/llvm_gen_backend.cpp
backend/src/llvm/llvm_passes.cpp