llvm.org GIT mirror llvm / d2ea65b
Repair compilation of llvm-stress after r350835. Apparently it doesn't get built by 'ninja check'. :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350843 91177308-0d34-0410-b5e6-96231b3b80d8 James Y Knight 7 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
355355 void Act() override {
356356 // Try to use predefined pointers. If non-exist, use undef pointer value;
357357 Value *Ptr = getRandomPointerValue();
358 PointerType *Tp = Ptr->getType();
358 PointerType *Tp = cast(Ptr->getType());
359359 Value *Val = getRandomValue(Tp->getElementType());
360360 Type *ValTy = Val->getType();
361361