Upgrade to LLVM 3.4 to fix performance regression, and updated regex for optimising selects.