Incorrect output when the order of Phi instructions changes #24
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	
	No description provided.
		
		Delete branch "%!s()"
	 
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This writes "012340" instead of "012345":
The output is correct when the if statement does not exist and Phi instructions aren't generated.
Incorrect register values with 6 simultaneous Phi instructionsto Incorrect output when the order of Phi instructions changesMinimal example:
Expected:
01Encountered:
01or00depending on the phi insertion order.The root cause is destination and operand registers being equal for
sub.This is only supported on arm64 but impossible on x86-64.
Partially fixed in
cli/q@c53418bbdf.The remaining work is to reorder the phi moves in such a way that registers don't overlap.
Another partial fix in
cli/q@8b5e4d9c82.Now the live values of all phis need to be equalized.
Fixed in
cli/q@47994041be.