[llvm-bugs] [Bug 40985] New: Assertion failed: (i == DstIdx || !MI->getOperand(i).isReg() || MI->getOperand(i).getReg() != RegA), function processTiedPairs,

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 6 10:26:57 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=40985

            Bug ID: 40985
           Summary: Assertion failed: (i == DstIdx ||
                    !MI->getOperand(i).isReg() ||
                    MI->getOperand(i).getReg() != RegA), function
                    processTiedPairs,
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dimitry at andric.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

As reported in https://bugs.freebsd.org/234232, building the
devel/aws-checksums port (see also <https://github.com/awslabs/aws-checksums>)
results in a clang assertion:

Assertion failed: (i == DstIdx || !MI->getOperand(i).isReg() ||
MI->getOperand(i).getReg() != RegA), function processTiedPairs, file
lib/CodeGen/TwoAddressInstructionPass.cpp, line 1547.

Minimized test case:

/* clang -cc1 -triple x86_64-- -S crc32c_sse42_asm-min.c */
int a, b;
void c() { asm("" : "+c"(b) : "c"(a)); }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190306/8d196ef0/attachment.html>


More information about the llvm-bugs mailing list