You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I'm not sure we have issues tracking this already, but we need to emit lifetime intrinsics, good thing is that we can do that as we unwrap scopes.
bcardosolopes
changed the title
We lack lifetime informations
Emit LLVM lifetime intrinsics
Nov 22, 2024
For
Compile it with
-fclangir -O3 -emit-cir
, we got:This is good. We explicitly marked the scope for the temporary. However, when we lower it to LLVM, we lost the lifetime informations:
In the contrary, the emitted LLVM without clangir is:
where we can see the lifetime markers pretty clearly. The lifetime markers are pretty important for optimizations in the middle end.
We need to do this especially we've already marked the scope clearly.
The text was updated successfully, but these errors were encountered: