Files
archived-llvm/test/CodeGen/Mips
Hans Wennborg f632da1f79 Merging r309930:
------------------------------------------------------------------------
r309930 | sdardis | 2017-08-03 02:38:46 -0700 (Thu, 03 Aug 2017) | 19 lines

[SelectionDAG] Resolve PR33978.

rL306209 taught SelectionDAG how to add the dereferenceable flag when
expanding memcpy and memmove. The fix however contained a nit where
the offset + size was constructed as an APInt of PointerSize rather
than PointerSizeInBits.

This lead to isDereferenceableAndAlignedPointer() get truncated values or
values which would be sign extended within that function leading to
incorrect results.

Thanks to Alex Crichton for reporting the issue!

This resolves PR33978.

Reviewers: inouehrs

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

------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_50@309956 91177308-0d34-0410-b5e6-96231b3b80d8
2017-08-03 16:24:57 +00:00
..
2017-08-01 23:44:38 +00:00
2016-01-26 00:03:25 +00:00
2016-01-26 00:03:25 +00:00
2016-01-26 00:03:25 +00:00
2015-04-13 18:47:19 +00:00
2017-06-06 15:33:01 +00:00
2016-01-26 00:03:25 +00:00
2017-08-03 16:24:57 +00:00
2017-03-09 11:19:48 +00:00
2016-10-19 16:58:59 +00:00
2017-03-09 11:19:48 +00:00
2013-07-26 20:58:55 +00:00