-
Fixed subtle issue that causes tests to fail in VS2013 in some configs. · 2d83ab2fAndrew Woloszyn authored
Depending on specific optimization settings VS2013 will sometimes execute the operands to new Instruction(builder.getUniqueId(), builder.makeBoolType(), OpPhi) left-to-right, and sometimes right-to-left. Since makeBoolType can also call getUniqueId(), the IDs to the OpPhi can sometimes be swapped. This guarantees an explicit ordering of the Ids so that tests work reliably.
2d83ab2f
×