forked from OSchip/llvm-project
LowerTypeTests: Remove unnecessary cast. NFC.
llvm-svn: 319387
This commit is contained in:
parent
b8304a6aed
commit
943aca3c27
|
@ -1706,7 +1706,7 @@ bool LowerTypeTestsModule::lower() {
|
|||
GlobalTypeMember::create(Alloc, &GO, IsDefinition, IsExported, Types);
|
||||
for (MDNode *Type : Types) {
|
||||
verifyTypeMDNode(&GO, Type);
|
||||
auto &Info = TypeIdInfo[cast<MDNode>(Type)->getOperand(1)];
|
||||
auto &Info = TypeIdInfo[Type->getOperand(1)];
|
||||
Info.Index = ++I;
|
||||
Info.RefGlobals.push_back(GTM);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue