Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [X86] Fix incomplete handling of register-assigned variables in parsing. | Nirav Dave | 2019-01-11 | 1 | -3/+3 |
| | | | | | | | | | | | | | | Teach x86 assembly operand parsing to distinguish between assembler variable assigned to named registers and those assigned to immediate values. Reviewers: rnk, nickdesaulniers, void Subscribers: hiraditya, jyknight, llvm-commits Differential Revision: https://reviews.llvm.org/D56287 llvm-svn: 350966 | ||||
* | fix trivial typo in comment, NFC | Hiroshi Inoue | 2017-06-26 | 1 | -1/+1 |
| | | | | llvm-svn: 306274 | ||||
* | Fix test for altmacro | Michael Zuckerman | 2017-05-01 | 1 | -1/+1 |
| | | | | llvm-svn: 301799 | ||||
* | [LLVM][inline-asm] Altmacro absolute expression '%' feature | Michael Zuckerman | 2017-05-01 | 1 | -0/+34 |
In this patch, I introduce a new alt macro feature. This feature adds meaning for the % when using it as a prefix to the calling macro arguments. In the altmacro mode, the percent sign '%' before an absolute expression convert the expression first to a string. As described in the https://sourceware.org/binutils/docs-2.27/as/Altmacro.html "Expression results as strings You can write `%expr' to evaluate the expression expr and use the result as a string." expression assumptions: 1. '%' can only evaluate an absolute expression. 2. Altmacro '%' must be the first character of the evaluated expression. 3. If no '%' is located before the expression, a regular module operation is expected. 4. The result of Absolute Expressions can be only integer. Differential Revision: https://reviews.llvm.org/D32526 llvm-svn: 301797 |