[PATCH] D134682: [DirectX] Generate `dx.resources` metadata entry
Xiang Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 3 11:34:27 PDT 2022
python3kgae accepted this revision.
python3kgae added a comment.
This revision is now accepted and ready to land.
UAVResource::parseSourceType is really ugly.
It would be nice to fix it in the next PR.
Also a slight format issue.
================
Comment at: llvm/lib/Target/DirectX/DXILResource.cpp:146
+ SmallVector<Metadata *> UAVMDs;
+ for (auto &UAV : UAVs) {
+ UAVMDs.emplace_back(UAV.write());
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134682/new/
https://reviews.llvm.org/D134682
More information about the llvm-commits
mailing list