diff options
author | Hans Wennborg <hans@hanshq.net> | 2019-03-08 09:09:28 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2019-03-08 09:09:28 +0000 |
commit | e3d833aefbb9056676510583bcccea4791408699 (patch) | |
tree | 2929a5a8749a8c96d94fed100dfe79250e4229af /test/CodeGen/x86-64-inline-asm.c | |
parent | e7524422bf4ee02f80a528547cde7e45b30c83dc (diff) |
Merging r354937:
------------------------------------------------------------------------
r354937 | joerg | 2019-02-27 01:40:59 +0100 (Wed, 27 Feb 2019) | 9 lines
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/branches/release_80@355673 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/x86-64-inline-asm.c')
0 files changed, 0 insertions, 0 deletions