https://llvm.org/bugs/show_bug.cgi?id=25571
Bug ID: 25571 Summary: [AArch64] Assert when SelectBitfieldInsertOp Product: new-bugs Version: unspecified Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: weimi...@codeaurora.org CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 15313 --> https://llvm.org/bugs/attachment.cgi?id=15313&action=edit llc test case For the following code, in isBitfieldInsertOpFromOr, the NumberOfIgnoredHighBits becomes zero when handlng the %or while.body: %conv = zext i8 %a to i32 ; 0 0 0 0 A %shl = shl i32 %b, 8 ; B2 B1 B0 0 %or = or i32 %conv, %shl ; B2 B1 B0 A %shl.1 = shl i32 %or, 8 ; B1 B0 A 0 %or.1 = or i32 %conv, %shl.1 ; B1 B0 A A %shl.2 = shl i32 %or.1, 8 ; B0 A A 0 %or.2 = or i32 %conv, %shl.2 ; B0 A A A %shl.3 = shl i32 %or.2, 8 ; A A A 0 %or.3 = or i32 %conv, %shl.3 ; A A A A %shl.4 = shl i32 %or.3, 8 ; A A A 0 ret i32 %shl.4 } -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs