Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix non-determinism in order of LLVM attributes | Reid Kleckner | 2016-04-04 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | We were using array_pod_sort on an array of type 'Attribute', which wraps a pointer to AttributeImpl. For the most part this didn't matter because the printing code prints enum attributes in a defined order, but integer attributes such as 'align' and 'dereferenceable' were not ordered. Furthermore, AttributeImpl::operator< was broken for integer attributes. An integer attribute is a kind and an integer value, and both pieces need to be compared. By fixing the comparison operator, we can go back to std::sort, and things look good now. This should fix clang arm-swiftcall.c test failures on Windows. llvm-svn: 265361 | ||||
* | Make one of the AttributeSet ctors maintain the invariant that the | Peter Collingbourne | 2013-08-02 | 1 | -0/+13 |
| | | | | | | | | attribute list is ordered by index. Differential Revision: http://llvm-reviews.chandlerc.com/D1265 llvm-svn: 187682 | ||||
* | Fix test to not use the AttributeSet's AttributeWithIndex creation method. | Bill Wendling | 2013-01-27 | 1 | -5/+5 |
| | | | | llvm-svn: 173608 | ||||
* | Add a unit test to verifies that attribute uniquing works so it doesn't ↵ | Benjamin Kramer | 2013-01-12 | 1 | -0/+34 |
break again. The folding set details can be subtle and broke twice in the last couple of weeks. llvm-svn: 172313 |