commit | 745b335211bb9eadfa6aa6301f84715cee4b37c5 | [log] [tgz] |
---|---|---|
author | Joerg Sonnenberger <[email protected]> | Wed Feb 27 00:40:59 2019 +0000 |
committer | Yi Kong <[email protected]> | Tue Apr 02 01:16:53 2019 -0700 |
tree | 262a2bcf7b298e9202792fa5aae777ec4d4b1d9c | |
parent | af54e989a0760d503e9268756eeb327768b7a208 [diff] |
Fix inline assembler constraint validation 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354937 91177308-0d34-0410-b5e6-96231b3b80d8