Closed Baumanar closed 4 years ago
We don't take into account "call void asm" calls. The second piece of code is likely an artifact of fixing an edge case in preprocessing of certain statements. Specifically these two contain an inline asm call. This will be removed with a future LLVM parser. Thanks for finding this code!
I have a question about the way you handle assembly calls. In the pre-processing part where you preprocess .ll files, you discard asm call that return void by using the keep() function:
However you dont handle asm inline calls that return something else during the pre-processing (maybe it is very specific in your case) and you seem to handle other cases specifically while parsing the preprocessed code:
My question is what is the difference between those two cases ? does it really matter or could we ignore asm inline calls whatever the type returned ?