[inline asm] Don't reject duplicated matching constraints
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 29 Mar 2015 20:33:07 +0000 (20:33 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 29 Mar 2015 20:33:07 +0000 (20:33 +0000)
commit155328790b9324080e3f086ff9515f665abf67d1
tree4688552d688ec81ce331554de49cddb822c70c81
parent041c54b85ec39a8a4d98d81734f27a0d5a48dcad
[inline asm] Don't reject duplicated matching constraints

They're harmless and it's easy to generate them from clang, leading to
a crash in LLVM. Found by afl-fuzz.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233500 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/InlineAsm.cpp
test/CodeGen/X86/inline-asm-duplicated-constraint.ll [new file with mode: 0644]