Uncommited patches for llvm