MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / testMergedProgram

Function testMergedProgram

tools/bugpoint/Miscompilation.cpp:220–233  ·  view source on GitHub ↗

Given two modules, link them together and run the program, checking to see if the program matches the diff. If there is an error, return NULL. If not, return the merged module. The Broken argument will be set to true if the output is different. If the DeleteInputs argument is set to true then this function deletes both input modules before it returns.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ExtractLoopsFunction · 0.85
TestOptimizerFunction · 0.85

Calls 4

diffProgramMethod · 0.80
moveFunction · 0.50
getMethod · 0.45
emptyMethod · 0.45

Tested by 1

TestOptimizerFunction · 0.68