]> granicus.if.org Git - clang/commit
Implement PR6845. We allow matching constraints to have different
authorChris Lattner <sabre@nondot.org>
Fri, 23 Apr 2010 17:27:29 +0000 (17:27 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 23 Apr 2010 17:27:29 +0000 (17:27 +0000)
commitaab64d0b7f41ed30b15ba9210ed859424cbc7455
tree07fe1e39bdb62c245c6bfc265c04711e7816a38c
parentca5cec3b5da9aa6b41c4aeccd0ee1c177825bca4
Implement PR6845.  We allow matching constraints to have different
input and output types when the smaller value isn't mentioned in the
asm string.  Extend this support from integers to also allowing
fp values to be mismatched (if not mentioned in the asm string).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102188 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGStmt.cpp
lib/Sema/SemaStmt.cpp
test/CodeGen/asm.c