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

             Bug #: 13742
           Summary: Assertion `DefGroup >= PrevDefGroup && "Tied inline
                    asm operands must be in increasing order."' failed.
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


LLVM r162990, x86_64 linux
test case reduced by creduce from ThreadSanitizer tests. 

% cat z.cc
void rep_clr_1 () {
  int d0, d1;
__asm__ __volatile__ ("rep  stosb":"=&c" (d0), "=&D" (d1) :"a" (0),
                            "1" (0), "0" (0) );
}
% clang++  -O2 z.cc
clang: /home/kcc/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp:953: void
llvm::InstrEmitter::EmitSpecialNode(llvm::SDNode *, bool, bool,
DenseMap<llvm::SDValue, unsigned int> &): Assertion `DefGroup >= PrevDefGroup
&& "Tied inline asm operands must be in increasing order."' failed.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to