forked from OSchip/llvm-project
parent
194e42c612
commit
90f73564d0
|
@ -646,7 +646,8 @@ SCEVHandle SCEVAddRecExpr::evaluateAtIteration(SCEVHandle It,
|
|||
// SCEV Expression folder implementations
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
SCEVHandle ScalarEvolution::getTruncateExpr(const SCEVHandle &Op, const Type *Ty) {
|
||||
SCEVHandle ScalarEvolution::getTruncateExpr(const SCEVHandle &Op,
|
||||
const Type *Ty) {
|
||||
assert(getTypeSizeInBits(Op->getType()) > getTypeSizeInBits(Ty) &&
|
||||
"This is not a truncating conversion!");
|
||||
assert(isSCEVable(Ty) &&
|
||||
|
|
Loading…
Reference in New Issue