From 7762a3ce18cc34ad0fbb28e6251d5de9d555b295 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 27 Apr 2022 19:01:24 -0400 Subject: [PATCH] Revert "BranchFolder: Assert on SSA functions" This reverts commit 6ff91d17d66da46572e97f9a0b042182762cbe9e. --- llvm/lib/CodeGen/BranchFolding.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp index 5b5c743e3971..76f6a00b718e 100644 --- a/llvm/lib/CodeGen/BranchFolding.cpp +++ b/llvm/lib/CodeGen/BranchFolding.cpp @@ -119,8 +119,6 @@ bool BranchFolderPass::runOnMachineFunction(MachineFunction &MF) { if (skipFunction(MF.getFunction())) return false; - assert(!MF.getProperties().hasProperty(MachineFunctionProperties::Property::IsSSA)); - TargetPassConfig *PassConfig = &getAnalysis(); // TailMerge can create jump into if branches that make CFG irreducible for // HW that requires structurized CFG. -- 2.34.1