[PATCH] D93850: [InstCombine] Rewrite (switch (zext X)) as (switch X).

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 28 11:44:38 PST 2020


lebedev.ri added a comment.

Aha, i see. I think the existing fold should be fixed instead,
because if it doesn't fire (because `shouldChangeType()` said so?),
how do we know we can ignore that hook here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93850



More information about the llvm-commits mailing list