diff options
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Scalar/Reassociate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/Reassociate.cpp b/llvm/lib/Transforms/Scalar/Reassociate.cpp index 493930b3885..1f343136e53 100644 --- a/llvm/lib/Transforms/Scalar/Reassociate.cpp +++ b/llvm/lib/Transforms/Scalar/Reassociate.cpp @@ -199,7 +199,7 @@ namespace { } XorOpnd::XorOpnd(Value *V) { - assert(!isa<Constant>(V) && "No constant"); + assert(!isa<ConstantInt>(V) && "No ConstantInt"); OrigVal = V; Instruction *I = dyn_cast<Instruction>(V); SymbolicRank = 0; |