remove the LinkOnceAnyLinkage since the libocl is introduced.
authorLuo Xionghu <xionghu.luo@intel.com>
Tue, 16 Sep 2014 01:40:09 +0000 (09:40 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Tue, 16 Sep 2014 06:11:54 +0000 (14:11 +0800)
commitd17f7739c5d5db38498297103c0b8bf32ce469a3
treec488f78143ef42eef9a7c7c1dfc080b6be4240ef
parent774cb1078594d8151418b97deec00935f7034ac2
remove the LinkOnceAnyLinkage since the libocl is introduced.

no need to set the LinkOnceAnyLinkage for global variables and functions
to avoid redefinition.

v2:
also enable the VerifierPass.

Signed-off-by: Luo Xionghu <xionghu.luo@intel.com>
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
backend/src/backend/gen_program.cpp
backend/src/llvm/llvm_to_gen.cpp