Index: src/IceCfgNode.cpp |
diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp |
index 2f2897c612d510a73be9581f0800c5e89413f486..22915b2f37bbe9f72ca06d10bfba912302543a0a 100644 |
--- a/src/IceCfgNode.cpp |
+++ b/src/IceCfgNode.cpp |
@@ -104,7 +104,8 @@ void CfgNode::placePhiLoads() { |
// added before any branch instruction, and also if the block ends |
// with a compare instruction followed by a branch instruction that we |
// may want to fuse, it's better to insert the new assignments before |
-// the compare instruction. |
+// the compare instruction. The tryOptimizedCmpxchgCmpBr() method |
+// assumes this ordering of instructions. |
// |
// Note that this transformation takes the Phi dest variables out of |
// SSA form, as there may be assignments to the dest variable in |