Follow patterns used for f32 and f64 types.
@arsenm Could you help me understand if my understanding is correct to fulfill your requirement of 'test globalisel'?
- change the followings under llvm/test/CodeGen/AMDGPU/GlobalISel:
- populate FileCheck macros with update_mir_test_checks.py
Hmm. It looks like these patterns aren't working. The MIR register banks are also not what I would expect. I think this needs some up-front work in the legalizer/regbankselect to handle properly, and would need end to end IR tests
@arsenm I'll take a look into AMDGPULegalizerInfo and AMDGPURegisterBankInfo. I'm not that well-versed in these aspect so I may come up with questions initially.
For end-to-end IR tests, do you feel any additions to fptosi.f16.ll and fptoui.f16.ll in this patch needed?