[PATCH] D84664: [InstCombine] Fold shift-select if all the operands are constant

Matteo Favaro via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 30 09:16:06 PDT 2020


fvrmatteo marked an inline comment as done.
fvrmatteo added a comment.

Also, calling **TempTrue->deleteValue();** and **TempFalse->deleteValue();** if the values are not being used because the optimisation is not doable (conditions are not met) should be the right thing to do to avoid leaking, right?


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

https://reviews.llvm.org/D84664



More information about the llvm-commits mailing list