Add addRequired<>() for different Pass

Hello There,

I tried to addRequired() But DataLayoutPass is not there in the LLVM 3.7 how to solve this issue.

Thanking You

regards,

Bernard

Hi,

Please see the release notes: http://llvm.org/releases/3.7.0/docs/ReleaseNotes.html

The third point says "The DataLayout is no longer optional” and shows what changed.

Let me know if it is not clear enough.