- Mar 04, 2014
-
-
Chandler Carruth authored
instructions. llvm-svn: 202834
-
- Feb 25, 2014
-
-
Rafael Espindola authored
No tool does this currently, but as everything else in a module we should be able to change its DataLayout. Most of the fix is in DataLayout to make sure it can be reset properly. The test uses Module::setDataLayout since the fact that we mutate a DataLayout is an implementation detail. The module could hold a OwningPtr<DataLayout> and the DataLayout itself could be immutable. Thanks to Philip Reames for pushing me in the right direction. llvm-svn: 202198
-
- Jan 05, 2014
-
-
Chandler Carruth authored
failed to correctly propagate the NUW and NSW flags to the constant folder for two instructions. I've added a unittest to cover flag propagation for the rest of the instructions and constant expressions. llvm-svn: 198538
-
- Dec 05, 2013
-
-
Michael Ilseman authored
We were previously not adding fast-math flags through CreateBinOp() when it happened to be making a floating point binary operator. This patch updates it to do so similarly to directly calling CreateF*(). llvm-svn: 196438
-
- Nov 15, 2013
-
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 194797
-
- Oct 05, 2013
-
-
Aaron Ballman authored
llvm-svn: 192042
-
- Sep 30, 2013
-
-
Benjamin Kramer authored
Inspired by the object from the SLPVectorizer. This found a minor bug in the debug loc restoration in the vectorizer where the location of a following instruction was attached instead of the location from the original instruction. llvm-svn: 191673
-
- Jan 23, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 173238
-
NAKAMURA Takumi authored
It fixes --vg-leak. llvm-svn: 173237
-
- Jan 07, 2013
-
-
Chandler Carruth authored
library rename. llvm-svn: 171747
-
- Jan 02, 2013
-
-
Chandler Carruth authored
into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. llvm-svn: 171366
-
- Dec 21, 2012
-
-
Duncan Sands authored
170318). llvm-svn: 170886
-
- Dec 09, 2012
-
-
Michael Ilseman authored
llvm-svn: 169712
-
- Dec 04, 2012
-
-
Chandler Carruth authored
llvm-svn: 169250
-
- Nov 29, 2012
-
-
Michael Ilseman authored
llvm-svn: 168943
-
- Nov 28, 2012
-
-
Michael Ilseman authored
llvm-svn: 168816
-
Michael Ilseman authored
llvm-svn: 168815
-
Michael Ilseman authored
llvm-svn: 168814
-
- Oct 31, 2012
-
-
Evgeniy Stepanov authored
llvm-svn: 167111
-
- Jul 16, 2012
-
-
Chandler Carruth authored
Added a basic unit test for this with CreateCondBr. I didn't go all the way and test the switch side as the boilerplate for setting up the switch IRBuilder unit tests is a lot more. Fortunately, the two share all the interesting code paths. llvm-svn: 160251
-
Chandler Carruth authored
This is in anticipation of changing CreateCondBr and wanting to test those changes. llvm-svn: 160250
-
Chandler Carruth authored
the original move of IRBuilder. llvm-svn: 160249
-
- 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 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
-
-
- May 22, 2011
-
-
Nick Lewycky authored
use these soon. llvm-svn: 131812
-