[PATCH] D130096: [Clang][AMDGPU] Emit AMDGPU library control constants in clang
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 16 09:05:49 PDT 2022
jhuber6 marked 3 inline comments as done.
jhuber6 added inline comments.
================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:9449-9450
+ !(Features & llvm::AMDGPU::FEATURE_WAVE32) ||
+ llvm::is_contained(CGM.getTarget().getTargetOpts().FeaturesAsWritten,
+ "+wavefrontsize64");
+
----------------
arsenm wrote:
> Do we really have to scan through the features too? This seems broken
@yaxunl wanted this so we didn't emit the global if the user manually overrode the features via `-Xclang` or similar.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130096/new/
https://reviews.llvm.org/D130096
More information about the cfe-commits
mailing list