1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/lib/Transforms
Duncan P. N. Exon Smith dbf049d50f SROA: Only split loads on byte boundaries
r199771 accidently broke the logic that makes sure that SROA only splits
load on byte boundaries.  If such a split happens, some bits get lost
when reassembling loads of wider types, causing data corruption.

Move the width check up to reject such splits early, avoiding the
corruption.  Fixes PR19250.

Patch by: Björn Steinbrink <bsteinbr@gmail.com>

llvm-svn: 211082
2014-06-17 00:19:35 +00:00
..
Hello [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:55:47 +00:00
InstCombine Canonicalize addrspacecast ConstExpr between different pointer types 2014-06-15 21:40:57 +00:00
Instrumentation Remove top-level Clang -fsanitize= flags for optional ASan features. 2014-06-13 17:53:44 +00:00
IPO IR: add "cmpxchg weak" variant to support permitted failure. 2014-06-13 14:24:07 +00:00
ObjCARC Add comdat key field to llvm.global_ctors and llvm.global_dtors 2014-05-16 20:39:27 +00:00
Scalar SROA: Only split loads on byte boundaries 2014-06-17 00:19:35 +00:00
Utils LowerSwitch: track bounding range for the condition tree. 2014-06-16 16:55:20 +00:00
Vectorize [SLP] Enable vectorization of GEP expressions. 2014-06-06 15:34:24 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile