[PATCH] D84491: [SimplifyCFG] Canonicalize branch predicates

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 21:13:35 PDT 2020


yrouban planned changes to this revision.
yrouban added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/SimplifyCFG.cpp:6060
+  if (CanonicalizeBranchPredicates &&
+      match(BI, m_Br(m_OneUse(m_FCmp(Pred, m_Value(), m_Value())),
+                     m_BasicBlock(), m_BasicBlock())) &&
----------------
m_FCmp should be change to m_Cmp


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84491/new/

https://reviews.llvm.org/D84491



More information about the llvm-commits mailing list