diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-02-18 21:46:28 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-02-18 21:46:28 +0000 |
commit | f3f8f443e10cbba0c313c41b3dc3632e39804c96 (patch) | |
tree | 503e0662ca333268852e97aa56331b51a603a946 /llvm/lib | |
parent | 5c6e653b72f601977054bdf8f0c4512a972e60cb (diff) | |
download | bcm5719-llvm-f3f8f443e10cbba0c313c41b3dc3632e39804c96.tar.gz bcm5719-llvm-f3f8f443e10cbba0c313c41b3dc3632e39804c96.zip |
[fast-isel] Remove an invalid assert.
If the memcpy has an odd length with an alignment of 2, this would incorrectly
assert on the last 1 byte copy.
rdar://13202135
llvm-svn: 175459
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/ARM/ARMFastISel.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp index 022fe970266..b545dbc3ea1 100644 --- a/llvm/lib/Target/ARM/ARMFastISel.cpp +++ b/llvm/lib/Target/ARM/ARMFastISel.cpp @@ -2458,7 +2458,6 @@ bool ARMFastISel::ARMTryEmitSmallMemCpy(Address Dest, Address Src, if (Len >= 2 && Alignment == 2) VT = MVT::i16; else { - assert (Alignment == 1 && "Expected an alignment of 1!"); VT = MVT::i8; } } |