All the ordering required is explicit in the representation. If x is an argument of y, then x must come before y (in the eventual assembly output). There is no other need for ordering within a basic block. Any order consistent with the argument ordering I mentioned above is ok.
On Friday, August 7, 2020 at 9:28:00 AM UTC-7 [email protected] wrote: > > https://github.com/golang/go/blob/master/src/cmd/compile/internal/ssa/block.go#L60 > in my opinion, the values are like instructions, why can it be unordered? > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/df92110a-d5a9-4fe0-a92a-14829335c4a8n%40googlegroups.com.
