[PATCH] D147572: [Clang][OpenMP] Fix failure with team-wide allocated variable

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 4 15:09:37 PDT 2023


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp:303
+    if (GV->hasInitializer() && !(isa<UndefValue>(GV->getInitializer()) ||
+                                  isa<PoisonValue>(GV->getInitializer()))) {
       OutContext.reportError({},
----------------
Isa<UndefValue> covers PoisonValue already 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147572



More information about the cfe-commits mailing list