Recreate the size SDNode instead of reusing the old one in the x86
authorDan Gohman <gohman@apple.com>
Wed, 16 Apr 2008 01:32:32 +0000 (01:32 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 16 Apr 2008 01:32:32 +0000 (01:32 +0000)
commitbcda285fcc98129ce48c4eda72a7f3595c7685ec
tree5f162e25d68613daf236880a324d84f6a31c9cf2
parentd94950c47382ba1f1de20fa45aac2a294d05908d
Recreate the size SDNode instead of reusing the old one in the x86
memcpy lowering code; this ensures that the size node has the desired
result type. This fixes a regression from r49572 with @llvm.memcpy.i64
on x86-32.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49761 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/memset64-on-x86-32.ll [new file with mode: 0644]