Adding patch for LLVM 3.4 for bug #712