Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CodeGen: Simplify consecutive '%' modifiers | David Majnemer | 2015-01-11 | 1 | -0/+7 |
| | | | | | | LLVM the consecutive '%' modifiers are redundant, skip them. llvm-svn: 225602 | ||||
* | CodeGen: Simplify consecutive '&' modifiers | David Majnemer | 2015-01-11 | 1 | -0/+7 |
| | | | | | | LLVM the consecutive '&' modifiers are redundant, skip them. llvm-svn: 225601 | ||||
* | CodeGen: Let arrays be inputs to inline asm | David Majnemer | 2014-07-14 | 1 | -0/+9 |
| | | | | | | | | | | | An array showing up in an inline assembly input is accepted in ICC and GCC 4.8 This fixes PR20201. Differential Revision: http://reviews.llvm.org/D4382 llvm-svn: 212954 | ||||
* | Handle '*' and '#' asm constraint modifiers. | Ulrich Weigand | 2012-10-29 | 1 | -0/+9 |
| | | | | llvm-svn: 166924 | ||||
* | [ms-inline asm] Use the new Inline Asm Non-Standard Dialect attribute. | Chad Rosier | 2012-08-10 | 1 | -0/+10 |
| | | | | llvm-svn: 161642 | ||||
* | Add support for AVX registers to clang inline asm. Add a small testcase | Eric Christopher | 2011-12-02 | 1 | -0/+6 |
| | | | | | | | | | and update the Sema testcase with a register that we won't hit for a while I hope. Fixes rdar://10510405 llvm-svn: 145671 | ||||
* | Clean up some oddly gratuitous vertical whitespace. | Eric Christopher | 2011-12-02 | 1 | -8/+0 |
| | | | | llvm-svn: 145670 | ||||
* | Rename function. | Eric Christopher | 2011-12-02 | 1 | -1/+1 |
| | | | | llvm-svn: 145669 | ||||
* | Fix assertion failure in CodeGen where the input operand to an asm | Peter Collingbourne | 2011-07-29 | 1 | -0/+9 |
| | | | | | | | instruction is tied to an output operand which is a pointer, and the input operand is narrower than the output operand. llvm-svn: 136438 | ||||
* | fix PR10415, tidying up IR representation of module level inline asm | Chris Lattner | 2011-07-23 | 1 | -0/+9 |
| | | | | | | to avoid extraneous \n's. llvm-svn: 135862 | ||||
* | Add a testcase for the previous commit and update an existing test for an | Eric Christopher | 2011-07-07 | 1 | -6/+20 |
| | | | | | | | | extra register. Part of PR10299 and rdar://9740322 llvm-svn: 134657 | ||||
* | Add some missing X86-specific asm constraint letters, and fix | Dale Johannesen | 2010-08-24 | 1 | -0/+22 |
| | | | | | | | some bugs in setting allowsRegister on the ones there. 8348447. llvm-svn: 111980 | ||||
* | Implement PR6845. We allow matching constraints to have different | Chris Lattner | 2010-04-23 | 1 | -0/+21 |
| | | | | | | | | 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). llvm-svn: 102188 | ||||
* | fix PR6780, properly handling the IR {|} escapes in inline asm strings. | Chris Lattner | 2010-04-05 | 1 | -0/+12 |
| | | | | llvm-svn: 100449 | ||||
* | fix a buildbot failure, this was passing for me because the | Chris Lattner | 2010-03-04 | 1 | -3/+7 |
| | | | | | | '%t' file was left around on my disk. doh. llvm-svn: 97699 | ||||
* | merge asm-2.c into asm.c, remove asm-inout.c because it is | Chris Lattner | 2010-03-03 | 1 | -0/+11 |
| | | | | | | XFAIL and already tracked in bugzilla. llvm-svn: 97671 | ||||
* | fix PR6475, we were doing side-effecting stuff in an assert. | Chris Lattner | 2010-03-03 | 1 | -1/+11 |
| | | | | llvm-svn: 97669 | ||||
* | Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. | Daniel Dunbar | 2009-12-15 | 1 | -1/+1 |
| | | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446 | ||||
* | Eliminate &&s in tests. | Daniel Dunbar | 2009-11-08 | 1 | -3/+3 |
| | | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430 | ||||
* | fix PR4938 by recognizing % as a modifier on outputs, | Chris Lattner | 2009-10-13 | 1 | -0/+9 |
| | | | | | | previously we only recognized it on inputs. llvm-svn: 83939 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -1/+1 |
| | | | | llvm-svn: 81346 | ||||
* | MultiTestRunner: Validate '&&' at the end of RUN lines. | Daniel Dunbar | 2009-07-25 | 1 | -1/+1 |
| | | | | | | | | - This is just to normalize, these will go away soon hopefully. Added all the missing '&&'s that have crept in. :) llvm-svn: 77062 | ||||
* | Update test | Daniel Dunbar | 2009-05-19 | 1 | -1/+1 |
| | | | | llvm-svn: 72110 | ||||
* | look at the right operand when increasing the size of an asm output, | Chris Lattner | 2009-05-03 | 1 | -0/+13 |
| | | | | | | this fixes http://llvm.org/bugs/show_bug.cgi?id=3373#c20 llvm-svn: 70685 | ||||
* | allow references to the larger value in a tied constraint | Chris Lattner | 2009-05-03 | 1 | -1/+12 |
| | | | | | | from the asm string, but reject references to the smaller one. llvm-svn: 70679 | ||||
* | add support for tying asm operands where the result is smaller than | Chris Lattner | 2009-05-03 | 1 | -1/+8 |
| | | | | | | the input. This is part of PR3373. llvm-svn: 70677 | ||||
* | Remove typo | Daniel Dunbar | 2009-05-03 | 1 | -1/+1 |
| | | | | llvm-svn: 70676 | ||||
* | implement support for asm outputs targetting non-simple lvalue destinations | Chris Lattner | 2009-05-03 | 1 | -0/+11 |
| | | | | | | like bitfields. incidentally llvm-gcc crashes on this sort of thing also. :) llvm-svn: 70675 | ||||
* | handle codegen of asms where a small input is tied to a large output. | Chris Lattner | 2009-05-03 | 1 | -1/+11 |
| | | | | llvm-svn: 70672 | ||||
* | Ignore plus operands when looking up the operand number from a named ↵ | Anders Carlsson | 2009-04-03 | 1 | -1/+7 |
| | | | | | | operand. This matches llvm-gcc and fixes PR3908. llvm-svn: 68371 | ||||
* | Rename clang to clang-cc. | Daniel Dunbar | 2009-03-24 | 1 | -1/+1 |
| | | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602 | ||||
* | Fix PR3682 by just disabling a broken assertion. This check should be | Chris Lattner | 2009-03-10 | 1 | -1/+7 |
| | | | | | | | | done in sema, and is reflected by the existing PR3258. In the meantime, fix PR3682 by disabling a bogus assertion (which doesn't account for + operands). llvm-svn: 66533 | ||||
* | reduce duplication of parsing code between %0 and %x0 and | Chris Lattner | 2009-03-10 | 1 | -1/+6 |
| | | | | | | add support for modifiers on named references, like %c[foo]. llvm-svn: 66532 | ||||
* | move matching of named operands into AsmStmt class. At the same | Chris Lattner | 2009-03-10 | 1 | -13/+12 |
| | | | | | | | time handle + operands in operand counting, fixing asm.c:t7 to expand into $2 instead of $1. llvm-svn: 66531 | ||||
* | Match gcc and always perform array/function conversion for asm input exprs. ↵ | Anders Carlsson | 2009-02-22 | 1 | -0/+6 |
| | | | | | | Fixes PR3641. llvm-svn: 65256 | ||||
* | If an input constraint refers to an output constraint, it should have the ↵ | Anders Carlsson | 2009-01-27 | 1 | -4/+5 |
| | | | | | | same constraint info as the output constraint. Fixes PR3417 llvm-svn: 63127 | ||||
* | Handle multi-value inputs | Anders Carlsson | 2009-01-12 | 1 | -0/+7 |
| | | | | llvm-svn: 62069 | ||||
* | More inline asm fixes | Anders Carlsson | 2009-01-11 | 1 | -3/+19 |
| | | | | llvm-svn: 62049 | ||||
* | Handle readwrite constraints correctly | Anders Carlsson | 2009-01-11 | 1 | -0/+5 |
llvm-svn: 62043 |