Skip to content

Commit 76950bd

Browse files
committed
Addressing partial review comments
1 parent 2f7d9ce commit 76950bd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

clang/lib/Sema/SemaSPIRV.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,7 @@ bool SemaSPIRV::CheckSPIRVBuiltinFunctionCall(const TargetInfo &TI,
257257
ExprResult C = TheCall->getArg(2);
258258
QualType ArgTyC = C.get()->getType();
259259
if (!ArgTyC->hasFloatingRepresentation()) {
260-
SemaRef.Diag(C.get()->getBeginLoc(),
261-
diag::err_builtin_invalid_arg_type)
260+
SemaRef.Diag(C.get()->getBeginLoc(), diag::err_builtin_invalid_arg_type)
262261
<< 3 << /* scalar or vector */ 5 << /* no int */ 0 << /* fp */ 1
263262
<< ArgTyC;
264263
return true;

clang/test/CodeGenSPIRV/Builtins/refract.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5
22

3-
// RUN: %clang_cc1 -O1 -triple spirv-pc-vulkan-compute %s -emit-llvm -o - | FileCheck %s
3+
// RUN: %clang_cc1 -triple spirv-pc-vulkan-compute %s -emit-llvm -o - | FileCheck %s
44

55
typedef float float2 __attribute__((ext_vector_type(2)));
66
typedef float float3 __attribute__((ext_vector_type(3)));

0 commit comments

Comments
 (0)