SMM: update code.cpp to properly deal with llvm.memcpy