diff options
author | Chad Rosier <mcrosier@apple.com> | 2011-12-06 00:19:08 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2011-12-06 00:19:08 +0000 |
commit | dce42b75dc05befb4f43b664951c80752904bcde (patch) | |
tree | 003fbfe4533392278a6d1b2a5fb8e52af34ed017 /lib/Analysis/ValueTracking.cpp | |
parent | f68a26b5d8e06a85edba97702884a74673b60807 (diff) |
Probably not a good idea to convert a single vector load into a memcpy. We
don't do this now, but add a test case to prevent this from happening in the
future.
Additional test for rdar://9892684
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145879 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ValueTracking.cpp')
-rw-r--r-- | lib/Analysis/ValueTracking.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/ValueTracking.cpp b/lib/Analysis/ValueTracking.cpp index 0d016e21f2..ecc83dfceb 100644 --- a/lib/Analysis/ValueTracking.cpp +++ b/lib/Analysis/ValueTracking.cpp @@ -1370,6 +1370,8 @@ Value *llvm::isBytewiseValue(Value *V) { return Val; } + + // FIXME: Vector types (e.g., <4 x i32> <i32 -1, i32 -1, i32 -1, i32 -1>). // Conceptually, we could handle things like: // %a = zext i8 %X to i16 |