- Sep 26, 2012
-
-
Benjamin Kramer authored
BB->end() returns a sentinel value that is not a legal insert point. llvm-svn: 164699
-
Michael Ilseman authored
Fixed issue with Release build. llvm-svn: 164654
-
- Sep 25, 2012
-
-
Chad Rosier authored
llvm-svn: 164627
-
Michael Ilseman authored
llvm-svn: 164614
-
Michael Ilseman authored
Unit tests for IntegerDivision. Currently, just a basic sanity check to ensure that the code was generated properly. Future work would be finding some way to test the actual result that would be computed. llvm-svn: 164582
-
- Jun 29, 2012
-
-
Chandler Carruth authored
This was always part of the VMCore library out of necessity -- it deals entirely in the IR. The .cpp file in fact was already part of the VMCore library. This is just a mechanical move. I've tried to go through and re-apply the coding standard's preferred header sort, but at 40-ish files, I may have gotten some wrong. Please let me know if so. I'll be committing the corresponding updates to Clang and Polly, and Duncan has DragonEgg. Thanks to Bill and Eric for giving the green light for this bit of cleanup. llvm-svn: 159421
-
- Jun 22, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 158942
-
- Jun 21, 2012
-
-
Chandler Carruth authored
Makefiles, the CMake files in every other part of the LLVM tree, and sanity. This should also restore the output tree structure of all the unit tests, sorry for breaking that, and thanks for letting me know. The fundamental change is to put a CMakeLists.txt file in the unittest directory, with a single test binary produced from it. This has several advantages: - No more weird directory stripping in the unittest macro, allowing it to be used more readily in other projects. - No more directory prefixes on all the source files. - Allows correct and precise use of LLVM's per-directory dependency system. - Allows use of the checking logic for source files that have not been added to the CMake build. This uncovered a file being skipped with CMake in LLVM and one in Clang's unit tests. - Makes Specifying conditional compilation or other custom logic for JIT tests easier. It did require adding the concept of an explicit 'optional' source file to the CMake build so that the missing-file check can skip cases where the file is *supposed* to be missing. =] This is another chunk of refactoring the CMake build in order to make it usable for other clients like CompilerRT / ASan / TSan. Note that this is interdependent with a Clang CMake change. llvm-svn: 158909
-
- Jun 20, 2012
-
-
Chandler Carruth authored
The TEST_F macros actually declare *subclasses* of the test fixtures. Even if they didn't we don't want them to declare external functions. The entire unit test, including both the fixture class and the fixture test cases should be wrapped in the anonymous namespace. This issue was caught by the new '-Winternal-linkage-in-inline' warning. llvm-svn: 158798
-
- Dec 20, 2011
-
-
- Jul 25, 2011
-
-
Jay Foad authored
llvm-svn: 135904
-
- Apr 11, 2011
-
-
Jay Foad authored
llvm-svn: 129271
-
- Mar 30, 2011
- Feb 21, 2011
-
-
Duncan Sands authored
should be that if the phi is used by a side-effect free instruction with no uses then the phi and the instruction now get zapped (checked by the unittest). llvm-svn: 126124
-
- Feb 20, 2011
-
-
Nick Lewycky authored
test for that. With this change, test/CodeGen/X86/codegen-dce.ll no longer finds any instructions to DCE, so delete the test. Also renamed J and JP to I and IP in RecursivelyDeleteDeadPHINode. llvm-svn: 126088
-
Nick Lewycky authored
by Andrew Clinton! llvm-svn: 126077
-
- Mar 13, 2010
-
-
Nick Lewycky authored
llvm-svn: 98446
-
- Oct 27, 2009
-
-
Devang Patel authored
llvm-svn: 85327
-
Chris Lattner authored
llvm-svn: 85254
-
- Oct 06, 2009
-
-
Duncan Sands authored
where the element is of a basic builtin type. For example, to get an i8* use getInt8PtrTy. llvm-svn: 83379
-
- Sep 27, 2009
-
-
Nick Lewycky authored
instructions' optimization flags. llvm-svn: 82934
-