@@ -182,10 +182,11 @@ int main(int Argc, char *Argv[]) {
182
182
Status = amd_comgr_release_data (DataElement );
183
183
checkError (Status , "amd_comgr_release_data" );
184
184
185
- if (!BytesSize ) {
186
- printf ("Bitcode host empty (expected non-empty)\n" );
187
- exit (1 );
188
- }
185
+ // TODO: Re-enable after finalizing LLVM PR #122629
186
+ // if (BytesSize != 0) {
187
+ // printf("Bitcode host element size: %ld (expected 0)\n", BytesSize);
188
+ // exit(1);
189
+ // }
189
190
190
191
// bitcode hip-gfx900 element (non-empty)
191
192
Status = amd_comgr_action_data_get_data (
@@ -247,10 +248,11 @@ int main(int Argc, char *Argv[]) {
247
248
Status = amd_comgr_release_data (DataElement );
248
249
checkError (Status , "amd_comgr_release_data" );
249
250
250
- if (BytesSize != 0 ) {
251
- printf ("Object host element size: %ld (expected empty)\n" , BytesSize );
252
- exit (1 );
253
- }
251
+ // TODO: Re-enable after finalizing LLVM PR #122629
252
+ // if (BytesSize != 0) {
253
+ // printf("Object host element size: %ld (expected empty)\n", BytesSize);
254
+ // exit(1);
255
+ //}
254
256
255
257
// object hip-gfx900 element (non-empty)
256
258
Status = amd_comgr_action_data_get_data (
@@ -312,8 +314,8 @@ int main(int Argc, char *Argv[]) {
312
314
Status = amd_comgr_release_data (DataElement );
313
315
checkError (Status , "amd_comgr_release_data" );
314
316
315
- if (! BytesSize ) {
316
- printf ("Arvhive host empty (expected non-empty )\n" );
317
+ if (BytesSize != 8 ) {
318
+ printf ("Arvhive host element size: %ld (expected 8 )\n" , BytesSize );
317
319
exit (1 );
318
320
}
319
321
0 commit comments