diff options
author | Craig Topper <craig.topper@sifive.com> | 2024-09-24 15:54:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 15:54:49 -0700 |
commit | 1f9ca897987358053374b724444c2aa396e51032 (patch) | |
tree | 1ffed0a1b5558002f5530255312d95684dbc79f6 /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 6c7134b2667b3abbbb3f56352a0020f398994d14 (diff) | |
download | llvm-1f9ca897987358053374b724444c2aa396e51032.zip llvm-1f9ca897987358053374b724444c2aa396e51032.tar.gz llvm-1f9ca897987358053374b724444c2aa396e51032.tar.bz2 |
[RISCV] Don't create insert/extract subreg during lowering. (#109754)
Create the equivalent INSERT_SUBVECTOR/EXTRACT_SUBVECTOR instead.
When we tried porting this to global isel, we noticed that subreg
operations are created early. We aren't able to do this until
instruction selection in global isel.
For SelectionDAG, it makes sense to use insert/extract_subvector as the
canonical form for these operations pre-isel. If it had come into
SelectionDAG as a insert/extract_subvector we would have kept it in that
form.
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions