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: unassignedb...@nondot.org
Reporter: dimi...@andric.com
CC: htmldevelo...@gmail.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs