[PATCH] D149586: [Coverity] Fix unchecked return value, NFC

Sergei Barannikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 08:21:18 PDT 2023


barannikov88 requested changes to this revision.
barannikov88 added inline comments.
This revision now requires changes to proceed.


================
Comment at: llvm/lib/CodeGen/EarlyIfConversion.cpp:348
+    assert(!TII->reverseBranchCondition(Condition) &&
+           "Reverse predicate is not supported");
   // Terminators don't need to be predicated as they will be removed.
----------------
This is wrong. Assert will be removed in release mode, along with the call.



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149586



More information about the llvm-commits mailing list