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 5df9956 commit b42ee72Copy full SHA for b42ee72
llvm/lib/Target/DirectX/DXILPrepare.cpp
@@ -149,7 +149,7 @@ class DXILPrepareModule : public ModulePass {
149
// Omit bitcasts if the incoming value matches the instruction type.
150
auto It = PointerTypes.find(Operand);
151
if (It != PointerTypes.end()) {
152
- auto OpTy = cast<TypedPointerType>(It->second)->getElementType();
+ auto *OpTy = cast<TypedPointerType>(It->second)->getElementType();
153
if (OpTy == Ty)
154
return nullptr;
155
}
0 commit comments