[Beignet] [PATCH] GBE: Fix build error.
Yang, Rong R
rong.r.yang at intel.com
Wed Aug 5 00:27:43 PDT 2015
LGTM, pushed, thanks.
> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Ruiling Song
> Sent: Wednesday, August 5, 2015 15:17
> To: beignet at lists.freedesktop.org
> Cc: Song, Ruiling
> Subject: [Beignet] [PATCH] GBE: Fix build error.
>
> Signed-off-by: Ruiling Song <ruiling.song at intel.com>
> ---
> backend/src/backend/program.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/backend/src/backend/program.cpp
> b/backend/src/backend/program.cpp index a9b5ff5..9caf1ac 100644
> --- a/backend/src/backend/program.cpp
> +++ b/backend/src/backend/program.cpp
> @@ -827,7 +827,7 @@ namespace gbe {
> std::error_code err;
> llvm::raw_fd_ostream ostream (dumpLLVMFileName.c_str(),
> err, llvm::sys::fs::F_RW);
> - if (!err.bool()) {
> + if (!err) {
> out_module->print(ostream, 0);
> } //Otherwise, you'll have to make do without the dump.
> }
> --
> 2.3.1
>
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list