Commit Graph

4 Commits

Author SHA1 Message Date
Bill Wendling 0cc8bc4d63 That's causing an error.
llvm-svn: 167763
2012-11-12 22:14:27 +00:00
Bill Wendling b1da2cb3fd Don't test for incomplete types.
llvm-svn: 167761
2012-11-12 22:01:56 +00:00
Bill Wendling 039136664d Update testcase to show that we don't emit an error for sizes <= 32-bits.
llvm-svn: 167748
2012-11-12 21:13:35 +00:00
Bill Wendling 887b485dbe Check that the input size is correct for the given constraint.
The 'a', 'c', and 'd' constraints on i386 mean a 32-bit register. We cannot
place a 64-bit value into the 32-bit register. Error out instead of causing the
compiler to spew general badness.
<rdar://problem/12415959>

llvm-svn: 167717
2012-11-12 06:42:51 +00:00