[FIR] Promote numeric types during comparisons

Added support for comparing platform types. Extracted logic to convert
operator expressions to OperatorExpressionGenerator.
This commit is contained in:
Mark Punzalan
2020-04-14 00:51:19 -07:00
committed by Mikhail Glukhikh
parent 1d9967013b
commit d4cbfcb79e
18 changed files with 310 additions and 547 deletions
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
fun btest1(a: Byte, b: Byte) = a > b
fun btest2(a: Byte, b: Byte) = a < b
fun btest3(a: Byte, b: Byte) = a >= b