Tai-e-assignments icon indicating copy to clipboard operation
Tai-e-assignments copied to clipboard

Question about assignment 4

Open IzaiahSun opened this issue 3 years ago • 2 comments

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)

IzaiahSun avatar Oct 11 '22 17:10 IzaiahSun

我觉得你是在callnodetransfer的情况可能出了问题,我当时是这里出了问题,edge transfer应对control flow,不要和calltoreturn edge混淆。希望对你有一些帮助

QudaRulo avatar Jan 13 '23 12:01 QudaRulo

在transfercallnode时,即使左边有赋值变量,也不用在out中删去LHS的值,因为这个会在edge transfer时候处理 tempsnip

Cat-Overflow avatar Oct 29 '23 03:10 Cat-Overflow