[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:25:08 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)
----------------
Something isn't updated properly in this patch? I don't see this TLI hook defined in the previous patches or on current main.


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