[PATCH] D126494: [clang] avoid assert due to device treated long double as double
Chi Chun Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 26 12:26:58 PDT 2022
cchen added inline comments.
================
Comment at: clang/lib/CodeGen/CodeGenModule.cpp:4654
+ bool IsLongDouble = BType && BType->getKind() == BuiltinType::LongDouble;
+ bool IsDevice = getLangOpts().HIP || getLangOpts().CUDA ||
+ getLangOpts().OpenMPIsDevice;
----------------
I only added the LangOpts that I'm familiar with but I believe there's more to add to the list.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126494/new/
https://reviews.llvm.org/D126494
More information about the cfe-commits
mailing list