Ivan Orlov

Results 3 comments of Ivan Orlov

Minimal reproduction: ```go package main import "os" func main() { os.Exit(1) } ``` ```sh $ gocritic check pnc.go panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic:...

I'm having difficulty with lowering `ModulusSwitch`, I was trying to lower directly to `arith`, but faced avalanche of complications (casts, signedness, overflows). Also it feels idiomatically incorrect to lower straight...

> you could lower to a combination of to_tensor and from_tensor, using tensor/math/arith ops for the rescaling and rounding. That what I'm currently doing, so output is still in `poly`....