diff options
| author | Xiang Li <python3kgae@outlook.com> | 2024-05-08 05:26:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-08 05:26:34 -0700 |
| commit | c5509fedc5757fffece385d9d068e36b26793ade (patch) | |
| tree | 88a339726a07ddaa30b1c24e2d660c336ec6020d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 943617d12ccbd3cf317f0bbec03d9efc700f3953 (diff) | |
[HLSL] Support packoffset attribute in AST (#89836)
Add HLSLPackOffsetAttr to save packoffset in AST.
Since we have to parse the attribute manually in ParseHLSLAnnotations,
we could create the ParsedAttribute with a integer offset parameter
instead of string. This approach avoids parsing the string if the offset
is saved as a string in HLSLPackOffsetAttr.
For #57914.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
