diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2022-04-27 19:01:24 -0400 |
---|---|---|
committer | Matt Arsenault <arsenm2@gmail.com> | 2022-04-27 19:02:15 -0400 |
commit | 7762a3ce18cc34ad0fbb28e6251d5de9d555b295 (patch) | |
tree | b6a0010423497e7540043dac120906ef808b625b /llvm/lib/CodeGen/BranchFolding.cpp | |
parent | d32c685e1012785c0d2824214740f973d30e1daa (diff) | |
download | llvm-7762a3ce18cc34ad0fbb28e6251d5de9d555b295.zip llvm-7762a3ce18cc34ad0fbb28e6251d5de9d555b295.tar.gz llvm-7762a3ce18cc34ad0fbb28e6251d5de9d555b295.tar.bz2 |
Revert "BranchFolder: Assert on SSA functions"
This reverts commit 6ff91d17d66da46572e97f9a0b042182762cbe9e.
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
-rw-r--r-- | llvm/lib/CodeGen/BranchFolding.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp index 5b5c743..76f6a00 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. |