forked from OSchip/llvm-project
parent
5496d4caa0
commit
724e67ec75
|
@ -418,6 +418,7 @@ static Value *getExistingVal(const Type *Ty, const ValID &D) {
|
|||
|
||||
{
|
||||
APSInt Tmp = *D.ConstPoolInt;
|
||||
D.destroy();
|
||||
Tmp.extOrTrunc(Ty->getPrimitiveSizeInBits());
|
||||
return ConstantInt::get(Tmp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue