It can fix datalayout mismatch warning in llvm3.7.
Signed-off-by: Yang Rong
---
backend/src/libocl/src/ocl_barrier.ll | 3 +++
backend/src/libocl/src/ocl_clz.ll | 3 +++
2 files changed, 6 insertions(+)
diff --git a/backend/src/libocl/src/ocl_barrier.ll
Move all llvm relative includes to llvm_includes.hpp.
Signed-off-by: Yang Rong
---
backend/src/backend/gen_program.cpp | 4 +
backend/src/llvm/ExpandConstantExpr.cpp | 7 +-
backend/src/llvm/ExpandLargeIntegers.cpp | 21 +---
Otherwise, createInstructionCombiningPass will convert some call to illegal
instruction in llvm3.7, for example utest compiler_time_stamp and
test_load_program_from_spir.
Signed-off-by: Yang Rong
---
backend/src/llvm/llvm_to_gen.cpp | 2 +-
1 file changed, 1
This bit maybe enable by sbios, explicit disable to save power.
Signed-off-by: Yang Rong
---
src/intel/intel_defines.h | 10 ++
src/intel/intel_gpgpu.c | 3 ++-
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/intel/intel_defines.h
cl_buffer_get_subdata sometime is very very very slow in linux kernel, in skl
and chv,
and it is random. So temporary disable it, use map/copy/unmap to read.
Should re-enable it after find root cause.
Signed-off-by: Yang Rong
---
src/cl_enqueue.c | 5 -
1 file
Ping for review.
Thanks.
On Sun, Sep 06, 2015 at 03:05:00PM +0800, Zhigang Gong wrote:
> More aggresive interfering check, even if both registers are in
> Livein set or Liveout set, they are still possible not interfering
> to each other.
>
> Signed-off-by: Zhigang Gong
Ping for review.
Thanks.
On Tue, Sep 01, 2015 at 12:04:59PM +0800, Zhigang Gong wrote:
> If the PHI source register's definition instruction uses the
> phi register, it is not a interfere. For an example:
>
> MOV %phi, %phicopy
> ...
> ADD %phiSrcDef, %phi, tmp
> ...
> MOV %phicopy, %phiSrcDef
>