diff options
-rw-r--r-- | lib/Transforms/Scalar/SROA.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Transforms/Scalar/SROA.cpp b/lib/Transforms/Scalar/SROA.cpp index 0534d9f..be7839e 100644 --- a/lib/Transforms/Scalar/SROA.cpp +++ b/lib/Transforms/Scalar/SROA.cpp @@ -546,8 +546,6 @@ private: } bool visitGetElementPtrInst(GetElementPtrInst &GEPI) { - //unsigned IntPtrWidth = TD->getPointerSizeInBits(); - //assert(IntPtrWidth == Offset.getBitWidth()); uint64_t GEPOffset; if (!computeConstantGEPOffset(GEPI, GEPOffset)) return markAsEscaping(GEPI); @@ -815,8 +813,6 @@ private: if (GEPI.use_empty()) return markAsDead(GEPI); - //unsigned IntPtrWidth = TD->getPointerSizeInBits(); - //assert(IntPtrWidth == Offset.getBitWidth()); uint64_t GEPOffset; if (!computeConstantGEPOffset(GEPI, GEPOffset)) llvm_unreachable("Unable to compute constant offset for use"); |