[Offload] Fix broken tablegen test after #140879 (#141796)

This commit is contained in:
Ross Brunton
2025-05-28 17:30:15 +01:00
committed by GitHub
parent caaca3298e
commit a1191b4875
2 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ def : Function {
// CHECK-VALIDATION: FunctionA_val
// CHECK-VALIDATION: if (NULL == ParamHandle)
// CHECK-VALIDATION-NEXT: return OL_ERRC_INVALID_NULL_HANDLE;
// CHECK-VALIDATION-NEXT: return createOffloadError(error::ErrorCode::INVALID_NULL_HANDLE, "validation failure: NULL == ParamHandle");
// CHECK-VALIDATION: if (NULL == ParamPointer)
// CHECK-VALIDATION-NEXT: return OL_ERRC_INVALID_NULL_POINTER;
// CHECK-VALIDATION-NEXT: return createOffloadError(error::ErrorCode::INVALID_NULL_POINTER, "validation failure: NULL == ParamPointer");
// CHECK-VALIDATION-NOT: if (NULL == ParamPointerOpt)

View File

@@ -28,7 +28,7 @@ def : Function {
// CHECK: if (offloadConfig().TracingEnabled) {
// CHECK-NEXT: "---> FunctionA";
// CHECK: Result = FunctionA_val(ParamA, ParamB);
// CHECK: Result = llvmErrorToOffloadError(FunctionA_val(ParamA, ParamB));
// Tracing should construct a param struct for printing
// CHECK: if (offloadConfig().TracingEnabled) {