Move instruction interferes with the if condition check #23
		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?
I tried to simplify the code but I failed to reproduce the bug in a simpler case so here is the full code:
Expected behaviour: green box stays in the same place
Current result: It moves and prints numbers
Inspecting with:
When the second if statement is commented out, the code of the first
ifis correct, comparing0to0:With both if statements in place we get a
movethat doesn't belong there:I'll check where the move is coming from.
Edit: It's coming from a Phi within SSA form. The position of the move is incorrect.
Fixed in
cli/q@9ae5194041.Very strange bugto Move instruction interferes with the if condition check