File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
llvm/lib/Transforms/Scalar Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -1646,12 +1646,6 @@ NewGVN::performSymbolicPredicateInfoEvaluation(BitCastInst *I) const {
16461646// Evaluate read only and pure calls, and create an expression result.
16471647NewGVN::ExprResult NewGVN::performSymbolicCallEvaluation (Instruction *I) const {
16481648 auto *CI = cast<CallInst>(I);
1649- if (auto *II = dyn_cast<IntrinsicInst>(I)) {
1650- auto *ReturnedValue = II->getReturnedArgOperand ();
1651- auto *MemDef = dyn_cast_or_null<MemoryDef>(getMemoryAccess (I));
1652- if (ReturnedValue && !MemDef)
1653- return ExprResult::some (createVariableOrConstant (ReturnedValue));
1654- }
16551649
16561650 // FIXME: Currently the calls which may access the thread id may
16571651 // be considered as not accessing the memory. But this is
You can’t perform that action at this time.
0 commit comments