aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-11-02 18:05:05 -0700
committerGitHub <noreply@github.com>2023-11-02 18:05:05 -0700
commit1021404619724568d62f53e575b61ae84e82ca02 (patch)
treeee98d7a6dd1ecb53765153d766202307fb555a0f /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent308f58cedac17c9acc8686713ee652a8d4020adb (diff)
downloadllvm-1021404619724568d62f53e575b61ae84e82ca02.zip
llvm-1021404619724568d62f53e575b61ae84e82ca02.tar.gz
llvm-1021404619724568d62f53e575b61ae84e82ca02.tar.bz2
[GISel] Make RegBank constructor constexpr. NFC (#71109)
RegBanks are constructed as global objects. Making the constructor constexpr helps the compiler construct it without a global constructor. clang's optimizer seems to figure this out on its own, but at least gcc 8 does not.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions