summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/x86_32-inline-asm.c
Commit message (Collapse)AuthorAgeFilesLines
* [X86, inlineasm] Do not allow using constraint 'x' for a variable larger thanAkira Hatanaka2014-09-181-2/+9
| | | | | | | | 128-bit unless the target CPU supports AVX. rdar://problem/11846140 llvm-svn: 218082
* [X86, inline-asm] Allow 256-bit wide operands for the 'x' constraintsHans Wennborg2014-09-181-0/+6
| | | | | | | The 'x' constraint is for "any SSE register", and GCC seems to include the 256-bit ymm registers in that concept. llvm-svn: 218073
* [X86, inlineasm] Check that the output size is correct for the given constraint.Akira Hatanaka2014-09-181-0/+13
| | | | llvm-svn: 218064
* [X86, inline-asm] Check that the input size is correct for constraints R, q, Q,Akira Hatanaka2014-09-171-0/+22
| | | | | | | | | | | S, D, A, y, x, f, t, and u. This is a follow-up patch for r167717. rdar://problem/11846140 rdar://problem/17476970 llvm-svn: 217994
* Emit an error message instead of crashing when dereferencing an incomplete ↵Bill Wendling2013-03-251-7/+0
| | | | | | | | | | pointer type. If the ASM statement is dereferencing an incomplete pointer type, issue an error instead of crashing. <rdar://problem/12700799> llvm-svn: 177915
* Use RequireCompleteType() instead of isIncompleteType().Bill Wendling2013-03-221-1/+8
| | | | | | | | | | | | isIncompleteType() returns true or false for template types depending on whether the type is instantiated yet. In this context, that's arbitrary. The better way to check for a complete type is RequireCompleteType(). Thanks to Eli Friedman for noticing this! <rdar://problem/12700799> llvm-svn: 177768
* That's causing an error.Bill Wendling2012-11-121-6/+1
| | | | llvm-svn: 167763
* Don't test for incomplete types.Bill Wendling2012-11-121-1/+6
| | | | llvm-svn: 167761
* Update testcase to show that we don't emit an error for sizes <= 32-bits.Bill Wendling2012-11-121-0/+6
| | | | llvm-svn: 167748
* Check that the input size is correct for the given constraint.Bill Wendling2012-11-121-0/+18
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
OpenPOWER on IntegriCloud