mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Revert "[BE][4/16] fix typos in torch/ (torch/_dynamo/) (#156314)"
This reverts commit ead741c5fb0036e0fc95b79d4fe1af3a426e1306.
Reverted https://github.com/pytorch/pytorch/pull/156314 on behalf of https://github.com/atalman due to export/test_torchbind.py::TestCompileTorchbind::test_compile_error_on_input_aliasing_contents_backend_aot_eager [GH job link](https://github.com/pytorch/pytorch/actions/runs/15804799771/job/44548489912) [HUD commit link](c95f7fa874
) ([comment](https://github.com/pytorch/pytorch/pull/156313#issuecomment-2994171213))
This commit is contained in:
@ -1649,7 +1649,7 @@ def bytecode_from_template(fn, varname_map=None, noreturn=True, noprefix=True):
|
||||
# replace returns with jumps
|
||||
for inst in returns:
|
||||
# don't replace inst with new instruction
|
||||
# due to targeting/exn table/etc.
|
||||
# due to targetting/exn table/etc.
|
||||
jump_inst = create_jump_absolute(insts[-1])
|
||||
inst.opname = jump_inst.opname
|
||||
inst.opcode = jump_inst.opcode
|
||||
|
Reference in New Issue
Block a user