diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-28 18:05:48 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-08-28 18:05:48 +0000 |
commit | 190e342cbcb1456ebb21b53a35cfefa99435bd65 (patch) | |
tree | fa78bef29a63dfa33b02887b78932fa4f18cc5d0 /lib/Analysis/ProfileDataLoaderPass.cpp | |
parent | 96da080b88472efa098e8a004bd205713c89e513 (diff) |
Don't allow TargetFlags on MO_Register MachineOperands.
Register operands are manipulated by a lot of target-independent code,
and it is not always possible to preserve target flags. That means it is
not safe to use target flags on register operands.
None of the targets in the tree are using register operand target flags.
External targets should be using immediate operands to annotate
instructions with operand modifiers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162770 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileDataLoaderPass.cpp')
0 files changed, 0 insertions, 0 deletions