diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-12-01 03:03:42 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-12-01 03:03:42 +0000 |
commit | 3f297541c5440c4758b34214fdbbf9ae5414c0f1 (patch) | |
tree | 4a305ba6efdb16b9515bb31d7a965e3e1381b3c5 /test/CodeGen | |
parent | c4795e39fa0de4e7d9cbf4c30a31e1d26e108ca0 (diff) | |
download | external_llvm-3f297541c5440c4758b34214fdbbf9ae5414c0f1.zip external_llvm-3f297541c5440c4758b34214fdbbf9ae5414c0f1.tar.gz external_llvm-3f297541c5440c4758b34214fdbbf9ae5414c0f1.tar.bz2 |
Merging r195787:
------------------------------------------------------------------------
r195787 | arnolds | 2013-11-26 14:11:23 -0800 (Tue, 26 Nov 2013) | 8 lines
LoopVectorizer: Truncate i64 trip counts of i32 phis if necessary
In signed arithmetic we could end up with an i64 trip count for an i32 phi.
Because it is signed arithmetic we know that this is only defined if the i32
does not wrap. It is therefore safe to truncate the i64 trip count to a i32
value.
Fixes PR18049.
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@195991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
0 files changed, 0 insertions, 0 deletions