Files
clang-p2996/llvm/lib/Target/X86/X86MachineFunctionInfo.h
weiguozhi 2c12c1e755 [X86] Check if an invoked function clobbers fp or bp (#103446)
In most cases when an instruction or function call clobbers fp and/or bp
register, we can fix it by save/restore the clobbered register. But we
still can't handle it when an invoked function clobbers fp and/or bp
according to its calling convention. This patch detects this case and
reports error instead of silently generating wrong code.
2024-08-14 12:59:37 -07:00

13 KiB