[LLVMbugs] [Bug 11268] New: CPP backend not support some new instructions (such as atomicrmw)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Oct 30 01:52:26 PDT 2011


show_bug.cgi?id=11268

             Bug #: 11268
           Summary: CPP backend not support some new instructions (such as
                    atomicrmw)
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: css20 at mail.ru
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7550
  --> attachment.cgi?id=7550
Bitcode with "atomicrmw or" instruction

llc -march=cpp test.ll

causes:

LLVM ERROR: Invalid instruction

see lib/Target/CppBackEnd/CppBackEnd.cpp:1031

  switch (I->getOpcode()) {
  default:
    error("Invalid instruction");
    break;

CppBackEnd does not handle this instruction:   %15 = atomicrmw or i8*
%.reload24, i8 %14 seq_cst

-- 
Configure bugmail: 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