aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorsuperZWT123 <zhengwentao3@huawei.com>2024-05-05 09:08:26 +0800
committerGitHub <noreply@github.com>2024-05-04 20:08:26 -0500
commitffc9a30938ae5c42c03f9c563db1465876b4def6 (patch)
treef0dfe6abd16f6f204d253a362c0eaae77d3f03bb /clang/lib/Basic/Module.cpp
parent3c311b022283450acbdd6af22862e913649a5452 (diff)
downloadllvm-ffc9a30938ae5c42c03f9c563db1465876b4def6.zip
llvm-ffc9a30938ae5c42c03f9c563db1465876b4def6.tar.gz
llvm-ffc9a30938ae5c42c03f9c563db1465876b4def6.tar.bz2
[TableGen] Use bitwise operations to access HwMode ID. (#88377)
1. Bitwise operations are used to access HwMode, allowing for the coexistence of HwMode IDs for different features (such as RegInfo and EncodingInfo). This will provide better scalability for HwMode. Currently, most users utilize HwMode primarily for configuring Register-related information, and few use it for configuring Encoding. The limited scalability of HwMode has been a significant factor in this usage pattern. 2. Sink the HwMode Encodings selection logic down to per instruction level, this makes the logic for choosing encodings clearer and provides better error messages. 3. Add some HwMode ID conflict detection to the getHwMode() interface.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions