22:31ajax: in codegen, for nir, does convertToSSA() actually do anything?
22:31ajax: seems like it should be a no-op
22:44karolherbst: yeah..
22:44karolherbst: sadly it does
22:45karolherbst: the from_nir code doesn't exactly convert into SSA form, though practically it probably does so
22:45karolherbst: but we do have some lowering right before ssa
22:45karolherbst: and those would run as part of the pipeline
22:45karolherbst: it's the "prog->getTarget()->runLegalizePass(prog, nv50_ir::CG_STAGE_PRE_SSA)" thing
22:46karolherbst: and there is a _lot_ of lowering
22:46karolherbst: NVC0LoweringPass e.g.
22:47karolherbst: now I suspect that most of the lowering might actually work in SSA form as well
22:47karolherbst: or can be droped through nir passes
22:51ajax: yeah, i'm trying to figure out how much of this can just be done in nir
22:51karolherbst: my guess: all of it
22:51karolherbst: we do have this dnz stuff figured out, now?
22:51karolherbst: *no?
22:52karolherbst: NVC0LoweringPass::handlePOW e.g.
22:52karolherbst: that dnz =1 is _criticial_
22:52karolherbst: though might not matter outside of CL? not 100%
22:52karolherbst: but I think we have that in nir now
22:53ajax: no idea. i assume that means a flush-denorm-to-zero flag on the instruction?
22:53karolherbst: yes
22:53karolherbst: there is also a ftz flag