[PATCH] D78918: [CostModel] Modify BasicTTI getCastInstrCost

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 11:47:17 PDT 2020


craig.topper added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/BasicTTIImpl.h:692
+    bool IntOrPtrSrc = Src->isIntegerTy() || Src->isPointerTy();
+    bool IntOrPtrDst = Dst->isIntegerTy() || Dst->isIntegerTy();
 
----------------
This line says isIntegerTy twice.


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

https://reviews.llvm.org/D78918





More information about the llvm-commits mailing list