Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change references to the Method class to be references to the Function | Chris Lattner | 2002-04-07 | 1 | -1/+0 |
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144 | ||||
* | Make ConvertableToGEP handle cases where the user is indexing into the | Chris Lattner | 2002-03-21 | 1 | -23/+29 |
| | | | | | | | | | | | first element of a structure type. Before this would not be handled because getStructOffset would either stop immediately (because StopEarly was true and Offset = 0), or blast past the level we wanted. Now ConvertableToGEP steps down through the type one level at a time, checking the Offset and Scale conditions at each step llvm-svn: 1931 | ||||
* | Implement the new InsertInstBeforeInst function | Chris Lattner | 2002-03-21 | 1 | -0/+14 |
| | | | | llvm-svn: 1930 | ||||
* | 1. Fix bug test/Regression/Other/2002-03-20-LevelRaiseBadCodegen.ll | Chris Lattner | 2002-03-21 | 1 | -15/+21 |
| | | | | | | | | | | | | 2. Allow negative scales in ConvertableToGEP, so that this loop from alloc_tree in the Olden health benchmark is correctly raised: for (i = 3; i >= 0; i--) fval[i] = alloc_tree(level - 1, label*4 + i + 1, new); Stepping through the array backwards caused a negative scale. llvm-svn: 1922 | ||||
* | Fix bug: test/Regression/Other/2002-03-14-LevelRaiseHang.ll | Chris Lattner | 2002-03-14 | 1 | -1/+1 |
| | | | | llvm-svn: 1869 | ||||
* | update comments | Chris Lattner | 2002-03-11 | 1 | -3/+2 |
| | | | | llvm-svn: 1862 | ||||
* | We were not correctly burrowing down multiple levels to get to a leaf. Fix ↵ | Chris Lattner | 2002-03-07 | 1 | -1/+2 |
| | | | | | | this now llvm-svn: 1833 | ||||
* | Bug fix for test/Regression/Other/2002-02-14-LevelRaiseBadAssert.ll | Chris Lattner | 2002-02-14 | 1 | -0/+1 |
| | | | | llvm-svn: 1767 | ||||
* | Elminate an unused variable | Chris Lattner | 2002-01-21 | 1 | -1/+0 |
| | | | | llvm-svn: 1518 | ||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -2/+2 |
| | | | | llvm-svn: 1503 | ||||
* | * add ReplaceInstWithInst | Chris Lattner | 2001-12-14 | 1 | -26/+25 |
| | | | | | | | * Add support for pointer indexing * Fix minor bugs that are majorly annoying llvm-svn: 1467 | ||||
* | Don't insert scales of 1 :) | Chris Lattner | 2001-12-07 | 1 | -1/+2 |
| | | | | llvm-svn: 1430 | ||||
* | Fix bug that caused invalid transformations to be applied | Chris Lattner | 2001-12-06 | 1 | -1/+1 |
| | | | | llvm-svn: 1426 | ||||
* | Handle more complex array indexing expressions | Chris Lattner | 2001-12-05 | 1 | -14/+47 |
| | | | | llvm-svn: 1424 | ||||
* | Rename ConstPoolVal -> Constant | Chris Lattner | 2001-12-03 | 1 | -5/+5 |
| | | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407 | ||||
* | losslessCastableTypes is moved to Type class | Chris Lattner | 2001-11-26 | 1 | -50/+133 |
| | | | | | | getStructOffsetType supports array indexing llvm-svn: 1343 | ||||
* | Better heuristics for handling arrays | Chris Lattner | 2001-11-14 | 1 | -1/+1 |
| | | | | llvm-svn: 1296 | ||||
* | Improve raising significantly | Chris Lattner | 2001-11-08 | 1 | -0/+42 |
| | | | | llvm-svn: 1214 | ||||
* | Refactor code to share stuff | Chris Lattner | 2001-11-04 | 1 | -0/+89 |
llvm-svn: 1127 |