llvm-project/polly/test/CodeGen/MemAccess
Tobias Grosser 0905a23806 CodeGen: Recreate old ivs with the original type
To avoid overflows we still use a larger type (i64) while calculating the value
of the old ivs.  However, we truncate the result to the type of the old iv when
providing it to the new code.

A corresponding test case is added to the polly test suite. Also, a failing test
case is fixed.

This fixes PR12311.

Contributed by: Tsingray Liu  <tsingrayliu@gmail.com>

llvm-svn: 153952
2012-04-03 12:24:32 +00:00
..
codegen_constant_offset.c test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
codegen_constant_offset.ll test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
codegen_constant_offset___%for.cond---%for.end.jscop test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
codegen_constant_offset___%for.cond---%for.end.jscop.transformed test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
codegen_simple.c test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
codegen_simple.ll test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
codegen_simple___%for.cond---%for.end.jscop test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
codegen_simple___%for.cond---%for.end.jscop.transformed test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
codegen_simple_md.c CodeGen: Full support for isl_pw expressions in modified access functions. 2012-03-23 08:21:22 +00:00
codegen_simple_md.ll CodeGen: Recreate old ivs with the original type 2012-04-03 12:24:32 +00:00
codegen_simple_md___%for.cond---%for.end6.jscop CodeGen: Full support for isl_pw expressions in modified access functions. 2012-03-23 08:21:22 +00:00
codegen_simple_md___%for.cond---%for.end6.jscop.transformed+withconst CodeGen: Full support for isl_pw expressions in modified access functions. 2012-03-23 08:21:22 +00:00
codegen_simple_md___%for.cond---%for.end6.jscop.transformed+withoutconst CodeGen: Full support for isl_pw expressions in modified access functions. 2012-03-23 08:21:22 +00:00
simple.c test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
simple.ll test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
simple___%for.cond---%for.end.jscop test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
simple___%for.cond---%for.end.jscop.transformed test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
simple___%for.cond4---%for.end14.jscop test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
simple___%for.cond4---%for.end14.jscop.transformed test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00
simple_analyze.ll test: Remove memaccess prefix 2012-03-23 08:24:04 +00:00