mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 09:54:09 +00:00
Clone target flags when copying mbb operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74181 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b4459088d6
commit
d5899793a6
@ -134,7 +134,7 @@ public:
|
||||
return addGlobalAddress(MO.getGlobal(), MO.getOffset(),
|
||||
MO.getTargetFlags());
|
||||
if (MO.isMBB())
|
||||
return addMBB(MO.getMBB());
|
||||
return addMBB(MO.getMBB(), MO.getTargetFlags());
|
||||
if (MO.isCPI())
|
||||
return addConstantPoolIndex(MO.getIndex(), MO.getOffset(),
|
||||
MO.getTargetFlags());
|
||||
|
Loading…
Reference in New Issue
Block a user