Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Delay diagnosing asm constraints that require immediates until after inlining | Bill Wendling | 2019-08-06 | 1 | -25/+0 |
| | | | | | | | | | | | | | | | | Summary: An inline asm call may result in an immediate input value after inlining. Therefore, don't emit a diagnostic here if the input isn't an immediate. Reviewers: joerg, eli.friedman, rsmith Subscribers: asb, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, jrtc27, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, s.egerton, krytarowski, mgorny, riccibruno, eraman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D60943 llvm-svn: 368104 | ||||
* | Inline asm constraints: allow ICE-like pointers for the "n" constraint (PR40890) | Hans Wennborg | 2019-03-06 | 1 | -1/+19 |
| | | | | | | | | | | | | Apparently GCC allows this, and there's code relying on it (see bug). The idea is to allow expression that would have been allowed if they were cast to int. So I based the code on how such a cast would be done (the CK_PointerToIntegral case in IntExprEvaluator::VisitCastExpr()). Differential Revision: https://reviews.llvm.org/D58821 llvm-svn: 355491 | ||||
* | Ensure that set constrained asm operands are not affected by truncation. | Joerg Sonnenberger | 2019-02-28 | 1 | -0/+4 |
| | | | | llvm-svn: 355058 | ||||
* | Fix inline assembler constraint validation | Joerg Sonnenberger | 2019-02-27 | 1 | -0/+4 |
| | | | | | | | | | | | The current constraint logic is both too lax and too strict. It fails for input outside the [INT_MIN..INT_MAX] range, but it also implicitly accepts 0 as value when it should not. Adjust logic to handle both correctly. Differential Revision: https://reviews.llvm.org/D58649 llvm-svn: 354937 | ||||
* | [X86, inlineasm] Improve analysis of x,Y0,Yi,Ym,Yt,L,e,Z,s asm constraints ↵ | Alexey Bataev | 2015-07-20 | 1 | -0/+26 |
| | | | | | | | | | (patch by Alexey Frolov) Improve Sema checking of 9 existing inline asm constraints (‘x’, ‘Y*’, ‘L’, ‘e’, ‘Z’, ‘s’). Differential Revision: http://reviews.llvm.org/D10536 llvm-svn: 242665 | ||||
* | When reporting constraints that should be constant, the type doesn't | Joerg Sonnenberger | 2015-01-22 | 1 | -6/+6 |
| | | | | | | really help. Improve diagnostics. llvm-svn: 226863 | ||||
* | Sema: analyze I,J,K,M,N,O constraints | Saleem Abdulrasool | 2015-01-06 | 1 | -0/+105 |
Add additional constraint checking for target specific behaviour for inline assembly constraints. We would previously silently let all arguments through for these constraints. In cases where the constraints were violated, we could end up failing to select instructions and triggering assertions or worse, silently ignoring instructions. llvm-svn: 225244 |