llvm-6502/lib
Michael Zolotukhin 4e7b10b07f Fix a trip-count overflow issue in LoopUnroll.
Currently LoopUnroll generates a prologue loop before the main loop
body to execute first N%UnrollFactor iterations. Also, this loop is
used if trip-count can overflow - it's determined by a runtime check.

However, we've been mistakenly optimizing this loop to a linear code for
UnrollFactor = 2, not taking into account that it also serves as a safe
version of the loop if its trip-count overflows.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222451 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-20 20:19:55 +00:00
..
Analysis AliasSet: Simplify mergeSetIn 2014-11-19 19:36:18 +00:00
AsmParser Update SetVector to rely on the underlying set's insert to return a pair<iterator, bool> 2014-11-19 07:49:26 +00:00
Bitcode Pass a reference to ValueEnumerator. 2014-11-17 20:06:27 +00:00
CodeGen RegisterCoalescer: Improve debug messages 2014-11-19 19:46:17 +00:00
DebugInfo Make DWARFAcceleratorTable::dump() const. 2014-11-20 16:21:11 +00:00
ExecutionEngine Fix covered switch warning 2014-11-18 01:26:46 +00:00
IR Do not create a replaceable Variables MDNode for function forward decls. 2014-11-20 15:52:34 +00:00
IRReader
LineEditor
Linker Update SetVector to rely on the underlying set's insert to return a pair<iterator, bool> 2014-11-19 07:49:26 +00:00
LTO Remove StringMap::GetOrCreateValue in favor of StringMap::insert 2014-11-19 05:49:42 +00:00
MC Remove StringMap::GetOrCreateValue in favor of StringMap::insert 2014-11-19 05:49:42 +00:00
Object llvm-readobj: fix off-by-one error in COFFDumper 2014-11-19 02:07:10 +00:00
Option
ProfileData
Support Remove support for undocumented SpecialCaseList entries. 2014-11-20 01:27:19 +00:00
TableGen
Target X86: use the correct alloca symbol for Windows Itanium 2014-11-20 18:01:26 +00:00
Transforms Fix a trip-count overflow issue in LoopUnroll. 2014-11-20 20:19:55 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile