Index: src/IceTargetLowering.h |
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h |
index b15c4f1e5f157e3d4045540ce6662a345f47ef44..7383fff4811906c63dd57651254d22bb36235f30 100644 |
--- a/src/IceTargetLowering.h |
+++ b/src/IceTargetLowering.h |
@@ -125,6 +125,11 @@ public: |
void doNopInsertion(); |
// Lowers a single instruction. |
void lower(); |
+ // Tries to do branch optimization on a single instruction. Returns |
+ // true if some optimization was done. |
+ virtual bool doBranchOpt(Inst * /*I*/, const CfgNode * /*NextNode*/) { |
+ return false; |
+ } |
// Returns a variable pre-colored to the specified physical |
// register. This is generally used to get very direct access to |