mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-30 07:33:23 +00:00
s/hasSideEffects/hasUnmodelledSideEffects/g
llvm-svn: 45133
This commit is contained in:
parent
e5af8b6e5c
commit
0df69490dd
@ -314,9 +314,10 @@ public:
|
||||
isReallyTriviallyReMaterializable(MI);
|
||||
}
|
||||
|
||||
/// hasSideEffects - Returns true if the instruction has side effects that are
|
||||
/// not captured by any operands of the instruction or other flags.
|
||||
bool hasSideEffects(MachineInstr *MI) const {
|
||||
/// hasUnmodelledSideEffects - Returns true if the instruction has side
|
||||
/// effects that are not captured by any operands of the instruction or other
|
||||
/// flags.
|
||||
bool hasUnmodelledSideEffects(MachineInstr *MI) const {
|
||||
const TargetInstrDescriptor *TID = MI->getInstrDescriptor();
|
||||
if (!(TID->Flags & M_NEVER_HAS_SIDE_EFFECTS ||
|
||||
TID->Flags & M_MAY_HAVE_SIDE_EFFECTS)) return true;
|
||||
|
Loading…
Reference in New Issue
Block a user