Build LLVM some API dont support iterator so use pointer
This commit is contained in:
@@ -2617,7 +2617,7 @@ public:
|
|||||||
{
|
{
|
||||||
if (b2 != bqbi)
|
if (b2 != bqbi)
|
||||||
{
|
{
|
||||||
auto ins = b2->block->getFirstNonPHIIt();
|
auto ins = &*b2->block->getFirstNonPHIIt();
|
||||||
|
|
||||||
if (b2->bb->preds.size() == 1)
|
if (b2->bb->preds.size() == 1)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user