Index: src/IceTargetLowering.h |
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h |
index 7f3eaa7b66d73905559f97f22b426367908009eb..61bb996a547dc4be96b69b31b27a57be22593ce0 100644 |
--- a/src/IceTargetLowering.h |
+++ b/src/IceTargetLowering.h |
@@ -287,9 +287,10 @@ protected: |
/// before returning. |
virtual void postLower() {} |
- /// Find two-address non-SSA instructions and set the DestNonKillable flag to |
- /// keep liveness analysis consistent. |
- void inferTwoAddress(); |
+ /// Find (non-SSA) instructions where the Dest variable appears in some source |
+ /// operand, and set the IsDestRedefined flag. This keeps liveness analysis |
+ /// consistent. |
+ void inferRedefinition(); |
John
2015/09/25 23:02:16
this does not infer, it finds. maybe rename it fin
Jim Stichnoth
2015/09/25 23:56:01
Done.
|
/// Make a pass over the Cfg to determine which variables need stack slots and |
/// place them in a sorted list (SortedSpilledVariables). Among those, vars, |
@@ -348,9 +349,7 @@ protected: |
Context.insert(InstBundleLock::create(Func, BundleOption)); |
} |
void _bundle_unlock() { Context.insert(InstBundleUnlock::create(Func)); } |
- void _set_dest_nonkillable() { |
- Context.getLastInserted()->setDestNonKillable(); |
- } |
+ void _set_dest_redefined() { Context.getLastInserted()->setDestRedefined(); } |
bool shouldOptimizeMemIntrins(); |