[hir] Remove unnecessary rewrite of instr.lvalue

The for loop over eachInstructionLValue already rewrites instr.lvalue: ```       
  for (const place of eachInstructionLValue(instr)) {           
rewritePlace(place, rewrites);         } ```
This commit is contained in:
Sathya Gunasekaran
2023-08-07 13:41:59 -04:00
parent 461083d7bd
commit adfae63f20
@@ -112,9 +112,6 @@ export function eliminateRedundantPhi(
rewritePlace(place, rewrites);
}
}
rewritePlace(instr.lvalue, rewrites);
// visit function expressions on first iteration of each block
if (
isFirstIteration &&