Go to file
Mikael Holmen 760dc9aba7 Remove sometimes faulty rewrite of memcpy in instcombine.
Summary:
Solves PR 31990.

The bad rewrite could replace a memcpy of one word with
 store i4 -1
while it should actually be
 store i8 -1

Hopefully opt and llc has improved enough so the original optimization
done by the code isn't needed anymore.

One already existing testcase is affected. It originally tested that
the memcpy was replaced with
 load double
but since we now remove that rewrite it will be
 load i64
instead.

Patch suggestion by Eli Friedman.

Reviewers: eli.friedman, majnemer, efriedma

Reviewed By: efriedma

Subscribers: efriedma, llvm-commits

Differential Revision: https://reviews.llvm.org/D30254

llvm-svn: 296585
2017-03-01 06:45:20 +00:00
clang [Sema] Add variable captured by a block to the enclosing lambda's 2017-03-01 06:11:25 +00:00
clang-tools-extra [clang-tidy] Fix a false positive on modernize-use-nullptr check. 2017-02-28 15:29:52 +00:00
compiler-rt [XRay] [compiler-rt] [NFC] Annotate unused variables for the compiler. 2017-02-28 08:48:46 +00:00
debuginfo-tests
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx [libcxx] Support threads on Fuchsia 2017-03-01 03:09:18 +00:00
libcxxabi [libc++abi] Clean up visibility 2017-03-01 03:55:57 +00:00
libunwind Fix the project name in the license file. 2017-02-27 17:47:58 +00:00
lld Improve comment. 2017-03-01 04:44:04 +00:00
lldb Greg Clayton is no longer working at Apple, he will continue to 2017-03-01 00:00:45 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm Remove sometimes faulty rewrite of memcpy in instcombine. 2017-03-01 06:45:20 +00:00
openmp Removing couple unnecessary architecture guards. 2017-02-28 21:43:28 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Currently broken by recent LLVM upstream changes 2017-03-01 04:34:44 +00:00