update for llvm 3.2: v0.1 branch

This pull request is for v0.1 branch.