1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/lib/Transforms
Arnold Schwaighofer d0c05d2c84 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.

llvm-svn: 195787
2013-11-26 22:11:23 +00:00
..
Hello First check in. Modified a comment. 2013-09-27 07:36:10 +00:00
InstCombine Apply the InstCombine fptrunc sqrt optimization to llvm.sqrt 2013-11-16 21:29:08 +00:00
Instrumentation llvm-cov: Split entry blocks in GCNOProfiling.cpp. 2013-11-22 23:07:45 +00:00
IPO PR17925 bugfix. 2013-11-26 16:11:03 +00:00
ObjCARC [objc-arc] Convert the one directional retain/release relation assert to a conditional check + fail. 2013-11-05 16:02:40 +00:00
Scalar Refactor some code in SampleProfile.cpp 2013-11-26 20:37:33 +00:00
Utils Add support for software expansion of 64-bit integer division instructions. 2013-11-19 06:54:19 +00:00
Vectorize LoopVectorizer: Truncate i64 trip counts of i32 phis if necessary 2013-11-26 22:11:23 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile