An fp_to_sint node would be incorrectly lowered to a TruncIntFP node in single-float mode. This would trigger an "Unexpected illegal type!" assert.
Many thanks to Tim Northover for helping me through this.
Differential D51810
[MIPS] Fix illegal type assert in single-float mode ZirconiumX on Sep 7 2018, 12:42 PM. Authored by
Details An fp_to_sint node would be incorrectly lowered to a TruncIntFP node in single-float mode. This would trigger an "Unexpected illegal type!" assert. Many thanks to Tim Northover for helping me through this.
Diff Detail Event Timeline
Comment Actions I've ran update_llc_checks.py on my testcase, and added a brief description of the test as requested. |
It looks like you miss any CHECK statements. I understand that without the fix this test case triggers assert, but it's better to express expected assembler code and check them.