[Beignet] [PATCH] Add build clang option fno-builtin to disable intrinsics.
Zhigang Gong
zhigang.gong at linux.intel.com
Mon Jul 22 00:29:37 PDT 2013
LGTM, pushed. Thanks.
On Mon, Jul 22, 2013 at 01:24:18PM +0800, Yang Rong wrote:
>
> Signed-off-by: Yang Rong <rong.r.yang at intel.com>
> ---
> backend/src/backend/program.cpp | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/backend/src/backend/program.cpp b/backend/src/backend/program.cpp
> index 2a4feb9..aaee3a7 100644
> --- a/backend/src/backend/program.cpp
> +++ b/backend/src/backend/program.cpp
> @@ -150,6 +150,7 @@ namespace gbe {
> }
>
> args.push_back("-emit-llvm");
> + args.push_back("-fno-builtin");
> if(bOpt) args.push_back("-O3");
> #if LLVM_VERSION_MINOR <= 2
> args.push_back("-triple");
> --
> 1.7.10.4
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list