This is actually two changes. One is to avoid copies when fp values are fed into a build_vector, without being able to tell from the opcode.
The other is that build_vectors are also marked as only defining FP, since they produce vector results.
Paths
| Differential D97968
[AArch64][GlobalISel][RegBankSelect] Improve rbs of G_BUILD_VECTOR when fed by fp values. ClosedPublic Authored by aemerson on Mar 4 2021, 10:27 AM.
Details Summary This is actually two changes. One is to avoid copies when fp values are fed into a build_vector, without being able to tell from the opcode. The other is that build_vectors are also marked as only defining FP, since they produce vector results.
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: danielkiss, hiraditya, kristof.beyls, rovka. · View Herald TranscriptMar 4 2021, 10:27 AM This revision is now accepted and ready to land.Mar 4 2021, 10:53 AM This revision was landed with ongoing or failed builds.Mar 4 2021, 3:09 PM Closed by commit rG501f6a4e9e60: [AArch64][GlobalISel][RegBankSelect] Improve rbs of G_BUILD_VECTOR when fed by… (authored by aemerson). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 328230 llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-build-vector.mir
|