mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Remove MetadataBase class because it is not adding significant value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94243 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -392,7 +392,7 @@ static Value *RemapOperand(const Value *In,
|
||||
assert(!isa<GlobalValue>(CPV) && "Unmapped global?");
|
||||
llvm_unreachable("Unknown type of derived type constant value!");
|
||||
}
|
||||
} else if (isa<MetadataBase>(In)) {
|
||||
} else if (isa<MDNode>(In) || isa<MDString>(In)) {
|
||||
Result = const_cast<Value*>(In);
|
||||
} else if (isa<InlineAsm>(In)) {
|
||||
Result = const_cast<Value*>(In);
|
||||
|
Reference in New Issue
Block a user