[PATCH] D105392: [InstCombine] Add optimization to prevent poison from being propagated.

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 7 12:32:30 PDT 2021


nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3517
+Value *
+InstCombinerImpl::PushFreezeToPreventPoisonFromPropagate(FreezeInst &OrigFI) {
+  // Try to push freeze through instructions that propagate but don't produce
----------------
As the clang-tidy warning indicates, the method should be lowercase. Also Propagate -> Propagating?


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

https://reviews.llvm.org/D105392



More information about the llvm-commits mailing list