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 11
11
// RUN: llvm-readelf -t %t.elf | FileCheck -check-prefix=CHECK-SECTION %s
12
12
// RUN: llvm-readelf -n %t.elf | FileCheck -check-prefix=CHECK-NOTES %s
13
13
14
- // CHECK-MACHINE: Machine: 8086
14
+ // CHECK-MACHINE: Machine: Intel Graphics Technology
15
15
16
16
// CHECK-SECTION: .note.inteloneompoffload
17
17
// CHECK-SECTION: __openmp_offload_spirv_0
Original file line number Diff line number Diff line change @@ -423,10 +423,7 @@ Error offloading::intel::containerizeOpenMPSPIRVImage(
423
423
Header.Class = ELF::ELFCLASS64;
424
424
Header.Data = ELF::ELFDATA2LSB;
425
425
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;
430
427
431
428
// Create a section with notes.
432
429
ELFYAML::NoteSection Section{};
You can’t perform that action at this time.
0 commit comments