Fixed bug related to llvm types in assignment