mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-11 11:34:02 +00:00
s/hasSideEffects/hasUnmodelledSideEffects/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45133 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
627c00b663
commit
4be2f7fe57
@ -314,9 +314,10 @@ public:
|
|||||||
isReallyTriviallyReMaterializable(MI);
|
isReallyTriviallyReMaterializable(MI);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// hasSideEffects - Returns true if the instruction has side effects that are
|
/// hasUnmodelledSideEffects - Returns true if the instruction has side
|
||||||
/// not captured by any operands of the instruction or other flags.
|
/// effects that are not captured by any operands of the instruction or other
|
||||||
bool hasSideEffects(MachineInstr *MI) const {
|
/// flags.
|
||||||
|
bool hasUnmodelledSideEffects(MachineInstr *MI) const {
|
||||||
const TargetInstrDescriptor *TID = MI->getInstrDescriptor();
|
const TargetInstrDescriptor *TID = MI->getInstrDescriptor();
|
||||||
if (!(TID->Flags & M_NEVER_HAS_SIDE_EFFECTS ||
|
if (!(TID->Flags & M_NEVER_HAS_SIDE_EFFECTS ||
|
||||||
TID->Flags & M_MAY_HAVE_SIDE_EFFECTS)) return true;
|
TID->Flags & M_MAY_HAVE_SIDE_EFFECTS)) return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user