[PATCH] D122987: [OpenMP] Make offloading sections have the SHF_EXCLUDE flag

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 14:59:26 PDT 2022


MaskRay accepted this revision.
MaskRay added inline comments.


================
Comment at: llvm/test/CodeGen/X86/offload_sections.ll:7
 
-; CHECK-DAG: .section	.llvm.offloading.dummy,""
+; CHECK-ELF-DAG: .section	.llvm.offloading,"e"
+; CHECK-COFF-DAG: .section	.llvm.offloading,"dr"
----------------
Remove -DAG. There is no other line for testing.

If there is other stuff after `"e"`, check that. If there isn't any, append `{{$}}`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122987/new/

https://reviews.llvm.org/D122987



More information about the llvm-commits mailing list