regression in correctness of handling typeinf avoidance #53431
Labels
bug
Indicates an unexpected problem or unintended behavior
compiler:codegen
Generation of LLVM IR and native code
regression
Regression in behavior compared to a previous version
These values in the CodeInstance constructor at the linked comment line appear to be mostly set incorrectly now, which can lead to compile corruption (e.g. #51872), as well as now failing to handle the case when
retrieve_code_info
may fail and return nothing instead of CodeInfo. The old logic had a helper functionjl_get_codeinst_for_src
which used to handle this case, so that function could either be un-deleted, or that operation could be added as an alternative way to call theCodeInstance
constructor, since it needs identical handling to howresult
would be treated later.Originally posted by @vtjnash in #53219 (comment)
Posting as an issue since the PR is already merged so it doesn't get lost
The text was updated successfully, but these errors were encountered: