diff --git a/lib/Target/NVPTX/NVPTXLowerKernelArgs.cpp b/lib/Target/NVPTX/NVPTXLowerKernelArgs.cpp index 6656077348a..d162a283f74 100644 --- a/lib/Target/NVPTX/NVPTXLowerKernelArgs.cpp +++ b/lib/Target/NVPTX/NVPTXLowerKernelArgs.cpp @@ -128,7 +128,7 @@ INITIALIZE_PASS(NVPTXLowerKernelArgs, "nvptx-lower-kernel-args", "Lower kernel arguments (NVPTX)", false, false) // ============================================================================= -// If the function had a byval struct ptr arg, say foo(%struct.x *byval %d), +// If the function had a byval struct ptr arg, say foo(%struct.x* byval %d), // then add the following instructions to the first basic block: // // %temp = alloca %struct.x, align 8 diff --git a/test/CodeGen/X86/byval2.ll b/test/CodeGen/X86/byval2.ll index cc72a8699a9..5eb8b590e8d 100644 --- a/test/CodeGen/X86/byval2.ll +++ b/test/CodeGen/X86/byval2.ll @@ -37,8 +37,8 @@ entry: store i64 %b, i64* %tmp2, align 16 %tmp4 = getelementptr %struct.s, %struct.s* %d, i32 0, i32 2 store i64 %c, i64* %tmp4, align 16 - call void @f( %struct.s*byval %d ) - call void @f( %struct.s*byval %d ) + call void @f( %struct.s* byval %d ) + call void @f( %struct.s* byval %d ) ret void }