Unnecessary drop flags #41110
Labels
P-medium
Medium priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
In the following example, there's an unnecessary drop flag (and an associated cleanup path) for the result of the
S.id()
call. This is only present in beta and nightly, stable does not have this drop flag.IR in stable:
IR in beta/nightly
LLVM is able to remove the unnecessary flag and the drop call, but cannot remove the extraneous landing pads.
The text was updated successfully, but these errors were encountered: