[Openmp-commits] [PATCH] D117634: [OpenMP] Add triple warning exceptions for OpenMP bitcode library

Matt Arsenault via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 19 09:54:38 PST 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Linker/IRMover.cpp:1482
+    bool SrcIsDeviceLib =
+        (FileName.startswith("libdevice") && FileName.endswith(".10.bc")) ||
+        (FileName.startswith("libomptarget") && FileName.endswith(".bc"));
----------------
I'm a bit disturbed the linker is special casing bitcode file names


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117634



More information about the Openmp-commits mailing list