Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | HasSideEffects() should return false for calls to pure and const functions. | Michael Kuperstein | 2015-04-06 | 1 | -0/+19 |
| | | | | | | Differential Revision: http://reviews.llvm.org/D8548 llvm-svn: 234152 | ||||
* | Update Clang tests to handle explicitly typed load changes in LLVM. | David Blaikie | 2015-02-27 | 1 | -2/+2 |
| | | | | llvm-svn: 230795 | ||||
* | clang/test/CodeGen/builtin-assume*.c: Fixup for -Asserts. | NAKAMURA Takumi | 2014-09-08 | 1 | -3/+4 |
| | | | | llvm-svn: 217352 | ||||
* | Add __builtin_assume and __builtin_assume_aligned using @llvm.assume. | Hal Finkel | 2014-09-07 | 1 | -2/+20 |
| | | | | | | | | | | | This makes use of the recently-added @llvm.assume intrinsic to implement a __builtin_assume(bool) intrinsic (to provide additional information to the optimizer). This hooks up __assume in MS-compatibility mode to mirror __builtin_assume (the semantics have been intentionally kept compatible), and implements GCC's __builtin_assume_aligned as assume((p - o) & mask == 0). LLVM now contains special logic to deal with assumptions of this form. llvm-svn: 217349 | ||||
* | Add basic (noop) CodeGen support for __assume | Hal Finkel | 2014-07-16 | 1 | -0/+8 |
Clang supports __assume, at least at the semantic level, when MS extensions are enabled. Unfortunately, trying to actually compile code using __assume would result in this error: error: cannot compile this builtin function yet __assume is an optimizer hint, and can be ignored at the IR level. Until LLVM supports assumptions at the IR level, a noop lowering is valid, and that is what is done here. llvm-svn: 213206 |