[PATCH] D147572: [Clang][OpenMP] Fix failure with team-wide allocated variable
Gheorghe-Teodor Bercea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 15:10:34 PDT 2023
doru1004 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({},
----------------
arsenm wrote:
> Isa<UndefValue> covers PoisonValue already
Perfect! I'll revert this part.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147572/new/
https://reviews.llvm.org/D147572
More information about the llvm-commits
mailing list