2440fb1f91557912f8c43cb72201170254ae09f4 |
|
16-Sep-2013 |
Amara Emerson <amara.emerson@arm.com> |
Add error checking to reject neon_vector_type attribute on targets without NEON. Patch by Artyom Skrobov. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/arm-asm-warn.c
|
4d2ea738175aacc7405e76a7e92b7e20f05519c6 |
|
04-Jun-2013 |
Bob Wilson <bob.wilson@apple.com> |
Rephrase asm_mismatched_size_modifier diagnostic. <rdar://problem/14050339> The text of this diagnostic was unnecessarily specific to the current ARM implementation of validateConstraintModifier, and it gave a potentially confusing suggestion for fixing the problem. The ARM-specific issue is not a big deal since that is the only target that currently does any checking of asm operand modifiers, but until my change in 183172 it was still wrong for output operands in the way that it referred to the value being truncated when put into a register, since output operands are retrieved from the registers instead of being put into them. The bigger problem is that its suggestion to "use a modifier" is wrong and confusing in the case where a "q" modifier is incorrectly used with an "r" constraint. In that case, the solution might well be to remove the modifier or perhaps change the constraint. It's better to just leave the diagnostic message more generic. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183209 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/arm-asm-warn.c
|
221a8908e4521de533bace49566b5281df9b1924 |
|
04-Jun-2013 |
Bob Wilson <bob.wilson@apple.com> |
Do not report -Wasm-operand-widths for ARM output operands. <rdar://14050337> We're getting reports of this warning getting triggered in cases where it is not adding any value. There is no asm operand modifier that you can use to silence it, and there's really nothing wrong with having an LDRB, for example, with a "char" output. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183172 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/arm-asm-warn.c
|
6e6330c07a42ace74637d0ad7356a2fa20de81ec |
|
01-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
Don't emit a warning with an input/output parameter. We assume the user knows what they're doing here. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169059 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/arm-asm-warn.c
|
e2dbaa9f78be2b09b0723d1b614286412808b5d3 |
|
01-Dec-2012 |
Bill Wendling <isanbard@gmail.com> |
Don't warn if the input size is less than the register size. Also don't warn if 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169054 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/arm-asm-warn.c
|
50d46caf00c743312e0ea1f87a693d504b12ef51 |
|
26-Oct-2012 |
Bill Wendling <isanbard@gmail.com> |
Recommit Eric's code to validate ASM string's constraints and modifiers. 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> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166737 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGen/arm-asm-warn.c
|