Removing -debug-ir functionality for 3.6, as it was removed from LLVM.
Merge pull request #918 from dbabokin/trunk

Removing -debug-ir functionality for 3.6, as it was removed from LLVM.