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
Bugpoint has to emit function stubs that call getPointerToNamedFunction to find code generated by the
JIT. It would be nice if it only did this the first time it was called. Instead of emitting:
internal void %l33_main_no_exit_2E_i305_2E_i_wrapper(sbyte*, uint*) {
%resolver = call sbyte* %getPointerToNamedFunction( sbyte* getelementptr ([30 x sbyte]* %
l33_main_no_exit_2E_i305_2E_i_name, int 0, int 0) ) ; <sbyte*> [#uses=1]
%resolverCast = cast sbyte* %resolver to void (sbyte*, uint*)* ; <void (sbyte*, uint*)>
[#uses=1]
call void %resolverCast( sbyte %0, uint* %0 )
ret void
}
we would like to use something like a static var to remember this. This should be done in
Miscompilation.cpp:CleanupAndPrepareModules.
-Chris
The text was updated successfully, but these errors were encountered:
Extended Description
Bugpoint has to emit function stubs that call getPointerToNamedFunction to find code generated by the
JIT. It would be nice if it only did this the first time it was called. Instead of emitting:
internal void %l33_main_no_exit_2E_i305_2E_i_wrapper(sbyte*, uint*) {
%resolver = call sbyte* %getPointerToNamedFunction( sbyte* getelementptr ([30 x sbyte]* %
l33_main_no_exit_2E_i305_2E_i_name, int 0, int 0) ) ; <sbyte*> [#uses=1]
%resolverCast = cast sbyte* %resolver to void (sbyte*, uint*)* ; <void (sbyte*, uint*)>
[#uses=1]
call void %resolverCast( sbyte %0, uint* %0 )
ret void
}
we would like to use something like a static var to remember this. This should be done in
Miscompilation.cpp:CleanupAndPrepareModules.
-Chris
The text was updated successfully, but these errors were encountered: