[Beignet] [PATCH] Fix the wrong comments for emitAtomicInst

Yang, Rong R rong.r.yang at intel.com
Fri Apr 10 01:00:56 PDT 2015


LGTM, thanks.

> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> junyan.he at inbox.com
> Sent: Friday, April 10, 2015 15:16
> To: beignet at lists.freedesktop.org
> Cc: Junyan He
> Subject: [Beignet] [PATCH] Fix the wrong comments for emitAtomicInst
> 
> From: Junyan He <junyan.he at linux.intel.com>
> 
> Signed-off-by: Junyan He <junyan.he at linux.intel.com>
> ---
>  backend/src/llvm/llvm_gen_backend.cpp |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/backend/src/llvm/llvm_gen_backend.cpp
> b/backend/src/llvm/llvm_gen_backend.cpp
> index bf03a13..adb2447 100644
> --- a/backend/src/llvm/llvm_gen_backend.cpp
> +++ b/backend/src/llvm/llvm_gen_backend.cpp
> @@ -622,7 +622,7 @@ namespace gbe
> 
>      // Emit unary instructions from gen native function
>      void emitUnaryCallInst(CallInst &I, CallSite &CS, ir::Opcode opcode,
> ir::Type = ir::TYPE_FLOAT);
> -    // Emit unary instructions from gen native function
> +    // Emit atomic instructions
>      void emitAtomicInst(CallInst &I, CallSite &CS, ir::AtomicOps opcode);
> 
>      uint8_t appendSampler(CallSite::arg_iterator AI);
> --
> 1.7.9.5
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list