Dependence Analysis on Machine code


I am trying to do dependence analysis (loop dependences) on machine code.
But, scalar evolution doesn’t work as expected (like at IR level - opt pass).
I am not getting enough clue as to how to proceed…

One naive way of getting the dependence information can be

  • Do dependence analysis at IR level and attach the information as meta data.
    And then use this information at machine code level.
    Can someone suggest better approach ??

It sounds like you have a good clue how to proceed. I can't think of a better way.

Thanks Andrew for the reply :slight_smile:
I will try this out and see if it gives some satisfactory results.