Some work towards upgrading to LLVM 3.4.1 (#349) [ci skip].