[Pkg-opencl-devel] [beignet] 01/01: fix some typos

Andreas Beckmann anbe at moszumanska.debian.org
Fri Oct 31 15:02:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch for-upstream
in repository beignet.

commit 1e8d00640dd432c099fc94d5e7385d1b998fae3f
Author: Andreas Beckmann <anbe at debian.org>
Date:   Fri Oct 31 16:00:20 2014 +0100

    fix some typos
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 backend/src/ir/instruction.cpp          | 2 +-
 backend/src/llvm/llvm_printf_parser.cpp | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/backend/src/ir/instruction.cpp b/backend/src/ir/instruction.cpp
index 5fc1535..69533c0 100644
--- a/backend/src/ir/instruction.cpp
+++ b/backend/src/ir/instruction.cpp
@@ -989,7 +989,7 @@ namespace ir {
       }
       const ir::Type immType = fn.getImmediate(immediateIndex).getType();
       if (UNLIKELY(type != immType)) {
-        whyNot = "Inconsistant type for the immediate value to load";
+        whyNot = "Inconsistent type for the immediate value to load";
         return false;
       }
       const RegisterFamily family = getFamily(type);
diff --git a/backend/src/llvm/llvm_printf_parser.cpp b/backend/src/llvm/llvm_printf_parser.cpp
index 00e1ef8..bf11da8 100644
--- a/backend/src/llvm/llvm_printf_parser.cpp
+++ b/backend/src/llvm/llvm_printf_parser.cpp
@@ -665,7 +665,7 @@ error:
           case PRINTF_CONVERSION_g:
           case PRINTF_CONVERSION_A:
           case PRINTF_CONVERSION_a:
-            printf("Warning: Have a float paramter for %%d like specifier, take care of it\n");
+            printf("Warning: Have a float parameter for %%d like specifier, take care of it\n");
             arg = builder->CreateSIToFP(arg, Type::getFloatTy(module->getContext()));
             dst_type = Type::getFloatPtrTy(module->getContext(), 1);
             sizeof_size = sizeof(float);
@@ -693,7 +693,7 @@ error:
           case PRINTF_CONVERSION_I:
           case PRINTF_CONVERSION_D:
             /* Float to Int, add a conversion. */
-            printf("Warning: Have a int paramter for %%f like specifier, take care of it\n");
+            printf("Warning: Have a int parameter for %%f like specifier, take care of it\n");
             arg = builder->CreateFPToSI(arg, Type::getInt32Ty(module->getContext()));
             dst_type = Type::getInt32PtrTy(module->getContext(), 1);
             sizeof_size = sizeof(int);
@@ -704,7 +704,7 @@ error:
           case PRINTF_CONVERSION_x:
           case PRINTF_CONVERSION_X:
             /* Float to uint, add a conversion. */
-            printf("Warning: Have a uint paramter for %%f like specifier, take care of it\n");
+            printf("Warning: Have a uint parameter for %%f like specifier, take care of it\n");
             arg = builder->CreateFPToUI(arg, Type::getInt32Ty(module->getContext()));
             dst_type = Type::getInt32PtrTy(module->getContext(), 1);
             sizeof_size = sizeof(int);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/beignet.git



More information about the Pkg-opencl-devel mailing list