llvm-project
3ab64c5b - [NFC][Clang][FMV] Make FMV priority data type future proof. (#150079)

Commit
106 days ago
[NFC][Clang][FMV] Make FMV priority data type future proof. (#150079) FMV priority is the returned value of a polymorphic function. On RISC-V and X86 targets a 32-bit value is enough. On AArch64 we currently need 64 bits and we will soon exceed that. APInt seems to be a suitable replacement for uint64_t, presumably with minimal compile time overhead. It allows bit manipulation, comparison and variable bit width.
Author
Parents
Loading