[clang] [llvm] [OpenMP]Initial parsing/sema support for target_device selector set (PR #118471)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 16 11:27:10 PST 2024
================
@@ -15629,6 +15629,34 @@ ExprResult SemaOpenMP::VerifyPositiveIntegerConstantInClause(
return ICE;
}
+void SemaOpenMP::ActOnOpenMPDeviceNum(Expr *DeviceNumExpr) {
+ llvm::APSInt Result;
+ Expr::EvalResult EvalResult;
+ // Strip implicit casts from the expression
+ DeviceNumExpr = DeviceNumExpr->IgnoreImpCasts();
----------------
alexey-bataev wrote:
Tru not to drop it
https://github.com/llvm/llvm-project/pull/118471
More information about the llvm-commits
mailing list