aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-09-24 15:54:49 -0700
committerGitHub <noreply@github.com>2024-09-24 15:54:49 -0700
commit1f9ca897987358053374b724444c2aa396e51032 (patch)
tree1ffed0a1b5558002f5530255312d95684dbc79f6 /clang/lib/CodeGen/BackendUtil.cpp
parent6c7134b2667b3abbbb3f56352a0020f398994d14 (diff)
downloadllvm-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