In branch relaxation pass, restore blocks are created and placed before the jump destination if indirect branches are required. For example:
foo
sd s11, 0(sp)
jump .restore, s11
bar
bar
bar
j .dest
.restore:
ld s11, 0(sp)
.dest:
bazThe BasicBlock information of the restore MachineBasicBlock should be identical to the dest MachineBasicBlock.
Depends on D131862, which pre-commits the modified test.
Don’t see why you need this include