]> granicus.if.org Git - llvm/commit
Merging r299866:
authorTom Stellard <tstellar@redhat.com>
Tue, 23 May 2017 17:13:15 +0000 (17:13 +0000)
committerTom Stellard <tstellar@redhat.com>
Tue, 23 May 2017 17:13:15 +0000 (17:13 +0000)
commiteba25615ba1d051856851bfa7c0fad22c6d5904e
treede9814a13e86049e8c12dd6d059c782a2a3cdae4
parentf34c300665523e385deaf0b7e32cb1ffe78f5e33
Merging r299866:

------------------------------------------------------------------------
r299866 | arsenm | 2017-04-10 15:00:25 -0400 (Mon, 10 Apr 2017) | 3 lines

[MemCpyOpt] Only replace memcpy with bitcast if address spaces match

Patch by James Price
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@303657 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/MemCpyOptimizer.cpp
test/Transforms/MemCpyOpt/memcpy.ll