aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-03-27 12:19:28 -0700
committerGitHub <noreply@github.com>2024-03-27 12:19:28 -0700
commitbaf66ec061aa4da85d6bdfd1f9cd1030b9607fbb (patch)
treea2a4aad09a1145ee2ad51a606c04af8c2a21e305 /clang/lib/CodeGen/CodeGenModule.cpp
parentaeb8628c218f8224e08dddcdd3199a445d8607a8 (diff)
downloadllvm-baf66ec061aa4da85d6bdfd1f9cd1030b9607fbb.zip
llvm-baf66ec061aa4da85d6bdfd1f9cd1030b9607fbb.tar.gz
llvm-baf66ec061aa4da85d6bdfd1f9cd1030b9607fbb.tar.bz2
[Target][RISCV] Add HwMode support to subregister index size/offset. (#86368)
This is needed to provide proper size and offset for the GPRPair subreg indices on RISC-V. The size of a GPR already uses HwMode. Previously we said the subreg indices have unknown size and offset, but this stops DwarfExpression::addMachineReg from being able to find the registers that make up the pair. I believe this fixes https://github.com/llvm/llvm-project/issues/85864 but need to verify.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions