[LLVMbugs] [Bug 6219] New: Tablegen lexer misreading cmp${cc}pd ?

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Feb 3 05:13:46 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=6219

           Summary: Tablegen lexer misreading cmp${cc}pd ?
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu


Recently tblgen started throwing (and catching) an exception internally during
the LLVM build.  It doesn't like this snippet from X86InstrSSE.td:

  def CMPPDrmi : PDIi8<0xC2, MRMSrcMem,
                  (outs VR128:$dst), (ins VR128:$src1, f128mem:$src,
SSECC:$cc),
                  "cmp${cc}pd\t{$src, $dst|$dst, $src}",
                  [(set VR128:$dst, (int_x86_sse2_cmp_pd VR128:$src1,

The exception is thrown in getOperandNamed with the message:
  Instruction 'CMPPDrmi' does not have an operand named '$ccpd'!
It looks like ${cc}pd is being wrongly parsed as ccpd.


-- 
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