We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de79c48 commit 1d00ba7Copy full SHA for 1d00ba7
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
@@ -3670,7 +3670,7 @@ Instruction *InstCombinerImpl::foldPtrAuthConstantCallee(CallBase &Call) {
3670
if (!CPA)
3671
return nullptr;
3672
3673
- auto *CalleeF = dyn_cast<Function>(CPA->getPointer()->stripPointerCasts());
+ auto *CalleeF = dyn_cast<Function>(CPA->getPointer());
3674
// If the ptrauth constant isn't based on a function pointer, bail out.
3675
if (!CalleeF)
3676
0 commit comments