diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2025-09-27 00:14:38 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-27 00:14:38 +0900 |
commit | 129394e3f2cfb7fbac7b71a968a38328c82e9c8d (patch) | |
tree | 5a118e110cb0f3ea4adfa69f20dc0bce90ac712e /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 23473247c2aad142b8259ed70e569e932357c962 (diff) | |
download | llvm-129394e3f2cfb7fbac7b71a968a38328c82e9c8d.zip llvm-129394e3f2cfb7fbac7b71a968a38328c82e9c8d.tar.gz llvm-129394e3f2cfb7fbac7b71a968a38328c82e9c8d.tar.bz2 |
Greedy: Make trySplitAroundHintReg try to match hints with subreg copies (#160294)
This is essentially the same patch as
116ca9522e89f1e4e02676b5bbe505e80c4d4933;
when trying to match a physreg hint, try to find a compatible physreg if
there is
a subregister copy. This has the slight difference of using getSubReg on
the hint
instead of getMatchingSuperReg (the other use should also use getSubReg
instead,
it's faster).
At the moment this turns out to have very little effect. The adjacent
code needs
better handling of subregisters, so continue adding this piecemeal. The
X86 test
shows a net reduction in real instructions, plus a few new kills.
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions