[llvm] 7762a3c - Revert "BranchFolder: Assert on SSA functions"
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 27 16:02:20 PDT 2022
Author: Matt Arsenault
Date: 2022-04-27T19:02:15-04:00
New Revision: 7762a3ce18cc34ad0fbb28e6251d5de9d555b295
URL: https://github.com/llvm/llvm-project/commit/7762a3ce18cc34ad0fbb28e6251d5de9d555b295
DIFF: https://github.com/llvm/llvm-project/commit/7762a3ce18cc34ad0fbb28e6251d5de9d555b295.diff
LOG: Revert "BranchFolder: Assert on SSA functions"
This reverts commit 6ff91d17d66da46572e97f9a0b042182762cbe9e.
Added:
Modified:
llvm/lib/CodeGen/BranchFolding.cpp
Removed:
################################################################################
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<TargetPassConfig>();
// TailMerge can create jump into if branches that make CFG irreducible for
// HW that requires structurized CFG.
More information about the llvm-commits
mailing list