mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
LowerTypeTests: Remove unnecessary cast. NFC.
llvm-svn: 319387
This commit is contained in:
parent
d52b310ee4
commit
2183142a40
@ -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
Block a user