[PATCH] D153574: [CostModel] Fix GEP pointer operand in getInstructionCost

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 12:07:09 PDT 2023


nikic added inline comments.


================
Comment at: llvm/include/llvm/Analysis/TargetTransformInfoImpl.h:1155
     case Instruction::FNeg: {
       const TTI::OperandValueInfo Op1Info = TTI::getOperandInfo(U->getOperand(0));
       TTI::OperandValueInfo Op2Info;
----------------
There are more places in here that directly access operands, such as this one. Maybe clean up all of them at once?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153574



More information about the llvm-commits mailing list