| Issue |
177342
|
| Summary |
[AMDGPU] f16<-->i32 conversions should not be legal
|
| Labels |
enhancement,
backend:AMDGPU
|
| Assignees |
|
| Reporter |
jayfoad
|
Unless I'm missing something: no subtarget has instructions for f16<-->i32 conversion, so they should not be legal. Legalization should convert them into an equivalent sequence (e.g. f16-->f32-->i32) instead of doing this with instruction selection patterns.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs