projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d32c685
)
Revert "BranchFolder: Assert on SSA functions"
author
Matt Arsenault
<Matthew.Arsenault@amd.com>
Wed, 27 Apr 2022 23:01:24 +0000
(19:01 -0400)
committer
Matt Arsenault
<arsenm2@gmail.com>
Wed, 27 Apr 2022 23:02:15 +0000
(19:02 -0400)
This reverts commit
6ff91d17d66da46572e97f9a0b042182762cbe9e
.
llvm/lib/CodeGen/BranchFolding.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/BranchFolding.cpp
b/llvm/lib/CodeGen/BranchFolding.cpp
index 5b5c743e3971ebecdbafbb81e0f6a1613b4af9ad..76f6a00b718e0413fa1878a85a4f91fcb62f823b 100644
(file)
--- 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.