[PATCH] D152358: [CGP] Remove operand of llvm.assume more aggressively.

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 15 07:29:19 PDT 2023


xbolva00 added inline comments.


================
Comment at: llvm/lib/CodeGen/CodeGenPrepare.cpp:721
+          if (!OperandInst ||
+              !wouldInstructionBeTriviallyDead(OperandInst, TLInfo))
+            return;
----------------
Maybe extract to smaller function(s)?

Readibility if this new part is not ideal, so many nesting levels, ..


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

https://reviews.llvm.org/D152358



More information about the llvm-commits mailing list