Open ywgrit opened 1 month ago
@MaskRay @MQ-mengqing
IIUI The x86 basic block feature has not ever been utilized after it landed. There could be issues that never get sorted out.
It probably should use Arch/RISCV.cpp style st_value/st_size adjustment. https://reviews.llvm.org/D127581
I am inclined to remove the code, but I am happy to accept it when it actually gets used and properly tested.
@tmsri
After basic block jump optimization on X86_64, symbol size may need to be adjusted. Is the
def->value <= OldSize
should bedef->value <= NewSize
?