[AArch64][GlobalISel] Fix an assert fail/miscompile when fp16 types are copied to GPR register banks.
PR36345.
rdar://36478867
Paths
| Differential D43310
[AArch64][GlobalISel] Fix an assert fail/miscompile when fp16 types are copied to GPR register banks ClosedPublic Authored by aemerson on Feb 14 2018, 11:39 AM.
Details Summary [AArch64][GlobalISel] Fix an assert fail/miscompile when fp16 types are copied to GPR register banks. PR36345. rdar://36478867
Diff Detail
Event TimelineHerald added subscribers: kristof.beyls, javed.absar, rovka, rengolin. · View Herald TranscriptFeb 14 2018, 11:40 AM Comment Actions Hi Amara, Couple of nitpicks on the test case, but LGTM otherwise. Cheers,
This revision is now accepted and ready to land.Feb 16 2018, 9:26 AM Comment Actions Thanks, I'll commit this with those changes and put up another patch shortly for the copies in the other direction. Closed by commit rL325463: [AArch64][GlobalISel] Fix an assert fail/miscompile when fp16 types are copied (authored by aemerson). · Explain WhyFeb 18 2018, 9:12 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 134283 lib/Target/AArch64/AArch64InstructionSelector.cpp
test/CodeGen/AArch64/GlobalISel/pr36345-fp16-copy-gpr.mir
|
I believe the part regarding insert should be its own separate patch.