summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/arm-asm-warn.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't emit a warning with an input/output parameter. We assume the user ↵Bill Wendling2012-11-301-0/+4
| | | | | | knows what they're doing here. llvm-svn: 169059
* Don't warn if the input size is less than the register size. Also don't warn ifBill Wendling2012-11-301-5/+14
| | | | | | | the output size is greater than the register size. No truncation occurs with those. Reword warning to make it clearer what's the problem is. llvm-svn: 169054
* Recommit Eric's code to validate ASM string's constraints and modifiers.Bill Wendling2012-10-251-0/+18
This code checks the ASM string to see if the output size is able to fit within the variable specified as the output. For instance, scalar-to-vector conversions may not really work. It's on by default, but can be turned off with a flag if you think you know what you're doing. This is placed under a flag ('-Wasm-operand-widths') and flag group ('-Wasm'). <rdar://problem/12284092> llvm-svn: 166737
OpenPOWER on IntegriCloud