mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-22 19:50:55 +00:00
LowerTypeTests: Remove unnecessary cast. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319387 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a78cd8e7f
commit
1edbc9f1bc
@ -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…
x
Reference in New Issue
Block a user