[PATCH] D124552: CodeGenPrepare: Replace constant PHI arguments with switch condition value

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 5 05:32:23 PDT 2022


spatel added inline comments.


================
Comment at: llvm/lib/CodeGen/CodeGenPrepare.cpp:6986
   Instruction::CastOps ExtOp;
   IntegerType *ExtType = TLI->shouldExtendSwitch(*SI, &ExtOp);
   if (!ExtType)
----------------
spatel wrote:
> Something isn't updated properly in this patch? I don't see this TLI hook defined in the previous patches or on current main.
Ah - I didn't see the history in the previous patch in this set. So this patch just needs to be updated because the name/signature changed in D124894.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124552



More information about the llvm-commits mailing list