mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
MDString is already checked earlier.
llvm-svn: 107516
This commit is contained in:
parent
8c4e6ba789
commit
1c47157b66
@ -45,7 +45,7 @@ Value *llvm::MapValue(const Value *V, ValueToValueMapTy &VM) {
|
||||
|
||||
if (isa<ConstantInt>(C) || isa<ConstantFP>(C) ||
|
||||
isa<ConstantPointerNull>(C) || isa<ConstantAggregateZero>(C) ||
|
||||
isa<UndefValue>(C) || isa<MDString>(C))
|
||||
isa<UndefValue>(C))
|
||||
return VMSlot = C; // Primitive constants map directly
|
||||
|
||||
if (ConstantArray *CA = dyn_cast<ConstantArray>(C)) {
|
||||
|
Loading…
Reference in New Issue
Block a user