Tai-e-assignments
Tai-e-assignments copied to clipboard
Question about assignment 4
My submission failed on 2 statements of interprocedural constant propagation. Could anyone provide some tips on it?
Your submission correctly analyzes 85 out of 85 call sites in test cases for CHA,
and 1063 out of 1065 Stmts in test cases for interprocedural constant propagation.
[!] Failed on [hidden] testcase(s)
Tips: we will not give you any information about [hidden] testcase(s)
我觉得你是在callnodetransfer的情况可能出了问题,我当时是这里出了问题,edge transfer应对control flow,不要和calltoreturn edge混淆。希望对你有一些帮助
在transfercallnode时,即使左边有赋值变量,也不用在out中删去LHS的值,因为这个会在edge transfer时候处理