llvm-6502/test
Chandler Carruth 6f0ec20e8f Revert "indvars: Improve LFTR by eliminating truncation when comparing
against a constant."

This reverts commit r186107. It didn't handle wrapping arithmetic in the
loop correctly and thus caused the following C program to count from
0 to UINT64_MAX instead of from 0 to 255 as intended:

  #include <stdio.h>
  int main() {
    unsigned char first = 0, last = 255;
    do { printf("%d\n", first); } while (first++ != last);
  }

Full test case and instructions to reproduce with just the -indvars pass
sent to the original review thread rather than to r186107's commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186152 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-12 11:18:55 +00:00
..
Analysis
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen [SystemZ] Add test missing from r186148 2013-07-12 09:20:14 +00:00
DebugInfo In response to dblaikie's comment on r186035, replacing the 2013-07-11 21:16:14 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
MC Add support for Mips break and syscall insructions. The corresponding test cases are added. 2013-07-12 09:25:35 +00:00
Object llvm/test/Object/archive-toc.test: Use env(1) to satisfy win32 hosts. 2013-07-12 02:34:45 +00:00
Other Move r186044 tests into CodeGen/X86 2013-07-11 01:55:55 +00:00
TableGen
tools
Transforms Revert "indvars: Improve LFTR by eliminating truncation when comparing 2013-07-12 11:18:55 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt
lit.cfg Add the ability to use guarded malloc when running llvm lit tests. 2013-07-11 23:36:57 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh