mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 19:32:16 +00:00
MDString is already checked earlier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107516 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dca653951c
commit
1192d4d0a5
@ -45,7 +45,7 @@ Value *llvm::MapValue(const Value *V, ValueToValueMapTy &VM) {
|
|||||||
|
|
||||||
if (isa<ConstantInt>(C) || isa<ConstantFP>(C) ||
|
if (isa<ConstantInt>(C) || isa<ConstantFP>(C) ||
|
||||||
isa<ConstantPointerNull>(C) || isa<ConstantAggregateZero>(C) ||
|
isa<ConstantPointerNull>(C) || isa<ConstantAggregateZero>(C) ||
|
||||||
isa<UndefValue>(C) || isa<MDString>(C))
|
isa<UndefValue>(C))
|
||||||
return VMSlot = C; // Primitive constants map directly
|
return VMSlot = C; // Primitive constants map directly
|
||||||
|
|
||||||
if (ConstantArray *CA = dyn_cast<ConstantArray>(C)) {
|
if (ConstantArray *CA = dyn_cast<ConstantArray>(C)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user