[PATCH] D40085: Fix APInt bit size in processDbgDeclares

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 12:10:58 PST 2017


arsenm added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1147
+      APInt Offset(DL.getPointerSizeInBits(
+                       isa<PointerType>(T) ? T->getPointerAddressSpace() : 0),
+                   0);
----------------
Is a vector of pointers allowed here? How could this never be a PointerType?


https://reviews.llvm.org/D40085





More information about the llvm-commits mailing list