summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-02-22 18:17:27 +0000
committerJustin Lebar <jlebar@google.com>2016-02-22 18:17:27 +0000
commit46123a8891c979ed28a61c35278bf610057b7762 (patch)
treed5c30557856568269868574a08569671b2befb75 /llvm/lib
parenta8ef3c9b868946541cf299d9f510ff09058a3a6a (diff)
downloadbcm5719-llvm-46123a8891c979ed28a61c35278bf610057b7762.tar.gz
bcm5719-llvm-46123a8891c979ed28a61c35278bf610057b7762.zip
Revert "[ifcnv] Add comment explaining why it's OK to duplicate convergent MIs in ifcnv."
This reverts r261543. Accidental commit (not LGTM'ed). llvm-svn: 261547
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/IfConversion.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/IfConversion.cpp b/llvm/lib/CodeGen/IfConversion.cpp
index a8e72f4be84..41f9f0ba83d 100644
--- a/llvm/lib/CodeGen/IfConversion.cpp
+++ b/llvm/lib/CodeGen/IfConversion.cpp
@@ -7,8 +7,7 @@
//
//===----------------------------------------------------------------------===//
//
-// This file implements the machine instruction level if-conversion pass, which
-// tries to convert conditional branches into predicated instructions.
+// This file implements the machine instruction level if-conversion pass.
//
//===----------------------------------------------------------------------===//
@@ -674,9 +673,6 @@ void IfConverter::ScanInstructions(BBInfo &BBI) {
if (I->isDebugValue())
continue;
- // Don't need to check isConvergent(). It's OK to duplicate convergent
- // instructions here, because we'll only push convergent operations up the
- // CFG -- this can only *remove* control-flow dependencies.
if (I->isNotDuplicable())
BBI.CannotBeCopied = true;
OpenPOWER on IntegriCloud