aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-12-07 13:41:40 -0800
committerCraig Topper <craig.topper@sifive.com>2022-12-07 16:38:39 -0800
commit2a1100cd656b1e65eba7a4a875d0be62191342b0 (patch)
tree37dde56926db67353dc038b32ea6a17f68a803bb /clang/lib/CodeGen/CodeGenModule.h
parentabc87ad4ed6cc5e6568751f375d1c646edb502f7 (diff)
downloadllvm-2a1100cd656b1e65eba7a4a875d0be62191342b0.zip
llvm-2a1100cd656b1e65eba7a4a875d0be62191342b0.tar.gz
llvm-2a1100cd656b1e65eba7a4a875d0be62191342b0.tar.bz2
[RISCV] Shrink the size of the RISCVMatInt::Inst.
We don't need to store a full 64-bit immediate. The largest value used by any opcode is 20 bits. Using an int32_t shrinks the struct from 16 bytes to 8 bytes and reduces the size of the SmallVector that we use to store sequences by 64 bytes.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions