[PATCH] D144659: [DirectX backend] remove hlsl.* FnAttr after use.

Xiang Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 11:04:54 PST 2023


python3kgae created this revision.
python3kgae added reviewers: bogner, beanz, pow2clk, bob80905.
Herald added subscribers: Anastasia, hiraditya.
Herald added a project: All.
python3kgae requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Function attribute like hlsl.shader is not needed after DXILTranslateMetadata pass.
And it should be removed for DXIL.

So remove it once the information is collect.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144659

Files:
  llvm/lib/Target/DirectX/DXILMetadata.cpp
  llvm/test/CodeGen/DirectX/hlsl_attr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144659.499919.patch
Type: text/x-patch
Size: 6651 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230223/80e377ac/attachment.bin>


More information about the llvm-commits mailing list