File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
llvm/lib/Frontend/Offloading Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1111// RUN: llvm-readelf -t %t.elf | FileCheck -check-prefix=CHECK-SECTION %s
1212// RUN: llvm-readelf -n %t.elf | FileCheck -check-prefix=CHECK-NOTES %s
1313
14- // CHECK-MACHINE: Machine: 8086
14+ // CHECK-MACHINE: Machine: Intel Graphics Technology
1515
1616// CHECK-SECTION: .note.inteloneompoffload
1717// CHECK-SECTION: __openmp_offload_spirv_0
Original file line number Diff line number Diff line change @@ -423,10 +423,7 @@ Error offloading::intel::containerizeOpenMPSPIRVImage(
423423 Header.Class = ELF::ELFCLASS64;
424424 Header.Data = ELF::ELFDATA2LSB;
425425 Header.Type = ELF::ET_DYN;
426- // Use a fake machine type as there is not one specifically for
427- // Intel GPUs, the associated runtime plugin is looking for
428- // this value.
429- Header.Machine = 0x8086 ;
426+ Header.Machine = ELF::EM_INTELGT;
430427
431428 // Create a section with notes.
432429 ELFYAML::NoteSection Section{};
You can’t perform that action at this time.
0 commit comments