diff options
author | Rahul Joshi <rjoshi@nvidia.com> | 2025-07-09 08:56:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-09 08:56:07 -0700 |
commit | 23b4f4eb9b15e0c3a8d86d9c0857075afcfc7fe3 (patch) | |
tree | e91f5e33703cb723df417554920030c8367ab314 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 668c964282f0850a07976f46182efe745f77b789 (diff) | |
download | llvm-23b4f4eb9b15e0c3a8d86d9c0857075afcfc7fe3.zip llvm-23b4f4eb9b15e0c3a8d86d9c0857075afcfc7fe3.tar.gz llvm-23b4f4eb9b15e0c3a8d86d9c0857075afcfc7fe3.tar.bz2 |
[NFC][TableGen] Change DecoderEmitter `insertBits` to use integer types only (#147613)
The `insertBits` templated function generated by DecoderEmitter is
called with variable `tmp` of type `TmpType` which is:
```
using TmpType = std::conditional_t<std::is_integral<InsnType>::value, InsnType, uint64_t>;
```
That is, `TmpType` is always an integral type. Change the generated
`insertBits` to be valid only for integer types, and eliminate the
unused `insertBits` function from `DecoderUInt128` in
AMDGPUDisassembler.h
Additionally, drop some of the requirements `InsnType` must support as
they no longer seem to be required.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions