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 19c5057 commit 23a887bCopy full SHA for 23a887b
llvm/lib/Transforms/Utils/AMDGPUEmitPrintf.cpp
@@ -55,7 +55,7 @@ static Value *fitArgInto64Bits(IRBuilder<> &Builder, Value *Arg) {
55
return Builder.CreateBitCast(Arg, Int64Ty);
56
}
57
58
- if (auto PtrTy = dyn_cast<PointerType>(Ty)) {
+ if (isa<PointerType>(Ty)) {
59
return Builder.CreatePtrToInt(Arg, Int64Ty);
60
61
0 commit comments