aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorFarzon Lotfi <1802579+farzonl@users.noreply.github.com>2024-07-11 17:08:13 -0400
committerGitHub <noreply@github.com>2024-07-11 17:08:13 -0400
commit92fc1eb0c1ae3813f2ac9208e2c74207aae9d23f (patch)
tree9457a5ad3c489ea85629fbe4509e6a6ef82d8231 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent8901c1c2801018ec3efa042a3acc8bada7b790e3 (diff)
downloadllvm-92fc1eb0c1ae3813f2ac9208e2c74207aae9d23f.zip
llvm-92fc1eb0c1ae3813f2ac9208e2c74207aae9d23f.tar.gz
llvm-92fc1eb0c1ae3813f2ac9208e2c74207aae9d23f.tar.bz2
[HLSL] add loop unroll (#93879)
spec: https://github.com/microsoft/hlsl-specs/pull/263 - `Attr.td` - Define the HLSL loop attribute hints (unroll and loop) - `AttrDocs.td` - Add documentation for unroll and loop - `CGLoopInfo.cpp` - Add codegen for HLSL unroll that maps to clang unroll expectations - `ParseStmt.cpp` - For statements if HLSL define DeclSpecAttrs via MaybeParseMicrosoftAttributes - `SemaStmtAttr.cpp` - Add the HLSL loop unroll handeling resolves #70114 dxc examples: - for loop: https://hlsl.godbolt.org/z/8EK6Pa139 - while loop: https://hlsl.godbolt.org/z/ebr5MvEcK - do while: https://hlsl.godbolt.org/z/be8cedoTs Documentation: ![Screenshot_20240531_143000](https://github.com/llvm/llvm-project/assets/1802579/9da9df9b-68a6-49eb-9d4f-e080aa2eff7f)
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions