[PATCH] D143854: [DirectX backend] remove string function attribute and unused module flags

Xiang Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 12 12:16:22 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.

Remove string function attribute and unused module flags to match DXIL which is based on llvm 3.7.

Also move DXILPrepare pass after DXILTranslateMetadata pass because things like "hlsl.numthreads" will be removed by DXILPrepare pass now.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143854

Files:
  llvm/lib/Target/DirectX/DXILPrepare.cpp
  llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
  llvm/test/CodeGen/DirectX/strip-string-fn-attrs-module-flags.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143854.496783.patch
Type: text/x-patch
Size: 5890 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230212/01c6a4d3/attachment.bin>


More information about the llvm-commits mailing list