commit | 69e172a6f0a888b579f277f7b2f75371bfb4acba | [log] [tgz] |
---|---|---|
author | Michael Liao <michael.liao@intel.com> | Wed Aug 15 03:49:59 2012 +0000 |
committer | Michael Liao <michael.liao@intel.com> | Wed Aug 15 03:49:59 2012 +0000 |
tree | d9a98ed0682afced110eebb5a88ab922afad750e | |
parent | 58564d5aa6c1831bdf367b2736bb0aa5c4c86a77 [diff] |
fix infinite loop in instcombine with more than 4GB memcpy - memcpy size is wrongly truncated into 32-bit and treat 8GB memcpy is 0-sized memcpy - as 0-sized memcpy/memset is already removed before SimplifyMemTransfer and SimplifyMemSet in visitCallInst, replace 0 checking with assertions. - replace getZExtValue() with getLimitedValue() according to Eli Friedman llvm-svn: 161923