When expanding a BRCOND into a BR_CC, do not create an AND 1 if one already exists.
Details
Details
Diff Detail
Diff Detail
Event Timeline
test/CodeGen/ARM/wide-compares.ll | ||
---|---|---|
39–44 | This looks strange - in latest trunk the test is already expecting a bge here. In fact according to svn log wide-compares.ll hasn't changed since the initial commit which already expected bge. Are you sure this patch is for trunk llvm? |
test/CodeGen/ARM/wide-compares.ll | ||
---|---|---|
39–44 | Ah, yes, my apologies. This patch is a follow-up to https://reviews.llvm.org/D35821, which has been LGTMed but not yet committed. That patch regresses this test, so we decided to ask whether we wanted to fix it with this patch. |
This looks strange - in latest trunk the test is already expecting a bge here. In fact according to svn log wide-compares.ll hasn't changed since the initial commit which already expected bge. Are you sure this patch is for trunk llvm?