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