[PATCH] D128700: [AMDGPU][Clang] Skip adding noundef attribute to AMDGPU HIP device functions
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 28 09:06:44 PDT 2022
arsenm added inline comments.
================
Comment at: clang/lib/CodeGen/CGCall.cpp:2309
+ bool EnableNoundefAttrs = CodeGenOpts.EnableNoundefAttrs &&
+ !(getLangOpts().HIP && getLangOpts().CUDAIsDevice);
+
----------------
Shouldn't be limited to HIP. All languages with convergent operations
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128700/new/
https://reviews.llvm.org/D128700
More information about the cfe-commits
mailing list