[PATCH] D76124: [TTI] Remove getOperationCost

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 13 05:06:53 PDT 2020


dmgreen added inline comments.


================
Comment at: llvm/include/llvm/Analysis/TargetTransformInfoImpl.h:92
-      // the pointer, and a legal integer type.
-      unsigned DestSize = Ty->getScalarSizeInBits();
-      if (DL.isLegalInteger(DestSize) &&
----------------
This code is missing now?

Or at least the IntToPtr code was copied over, the PtrToInt wasn't and has become a cast.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76124





More information about the llvm-commits mailing list