File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -77,12 +77,12 @@ When to merge instruction locations
7777
7878A transformation should merge instruction locations if it replaces multiple
7979instructions with one or more new instructions, *and * the new instruction(s)
80- produce the output of more than one of the original instructions. The API to
81- use is ``Instruction::applyMergedLocation ``, and the new location for each new
82- instruction should be a merge of the locations of all the instructions whose
83- output is produced the new instructions; typically , this includes any
84- instruction being RAUWed by a new instruction , and excludes any instruction that
85- only produces an intermediate value used by the RAUWed instruction.
80+ produce the output of more than one of the original instructions. The API to use
81+ is ``Instruction::applyMergedLocation ``. For each new instruction I, its new
82+ location should be a merge of the locations of all instructions whose output is
83+ produced by I. Typically , this includes any instruction being RAUWed by a new
84+ instruction, and excludes any instruction that only produces an intermediate
85+ value used by the RAUWed instruction.
8686
8787The purpose of this rule is to ensure that a) the single merged instruction
8888has a location with an accurate scope attached, and b) to prevent misleading
You can’t perform that action at this time.
0 commit comments