[LLVMbugs] [Bug 6930] clang: invalid input constraint "p" in asm

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 19 04:38:05 PDT 2010


PaX Team <pageexec at freemail.hu> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
                 CC|                            |pageexec at freemail.hu
         Resolution|FIXED                       |

--- Comment #10 from PaX Team <pageexec at freemail.hu> 2010-10-19 06:38:03 CDT ---
i'm not sure how this problem is fixed as i still see the following when
compiling linux (which on x86 uses the 'p' constraint in the percpu_read_stable

   fatal error: error in backend: Invalid operand for inline asm constraint

note that the error is no longer about 'p' being unknown but rather at a lower
level it doesn't seem to be handled. this new error comes from
SelectionDAGBuilder::visitInlineAsm after it has called
LowerAsmOperandForConstraint. a quick reading of the code shows no signs of
handling 'p' in either X86TargetLowering::LowerAsmOperandForConstraint or

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list