summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2013-11-26 22:11:23 +0000
committerArnold Schwaighofer <aschwaighofer@apple.com>2013-11-26 22:11:23 +0000
commitb40f14eb89202930dad0acd51b75373bc609bc29 (patch)
treee5978125852822a959adc7814bf5f6d6904b6fae /include
parent2bd48f03ba8d60ce91e91a88d75c4336e3cf5b04 (diff)
downloadllvm-b40f14eb89202930dad0acd51b75373bc609bc29.tar.gz
llvm-b40f14eb89202930dad0acd51b75373bc609bc29.tar.bz2
llvm-b40f14eb89202930dad0acd51b75373bc609bc29.tar.xz
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/trunk@195787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions