Align function starts to target-specific bundle alignment.
BUG=none
R=stichnot@chromium.org
Review URL: https://codereview.chromium.org/515993002
diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h
index 6bf1424..a3410eb 100644
--- a/src/IceTargetLowering.h
+++ b/src/IceTargetLowering.h
@@ -137,6 +137,8 @@
virtual bool hasFramePointer() const { return false; }
virtual SizeT getFrameOrStackReg() const = 0;
virtual size_t typeWidthInBytesOnStack(Type Ty) const = 0;
+ virtual SizeT getBundleAlignLog2Bytes() const = 0;
+ virtual llvm::ArrayRef<uint8_t> getNonExecBundlePadding() const = 0;
bool hasComputedFrame() const { return HasComputedFrame; }
bool shouldDoNopInsertion() const;
int32_t getStackAdjustment() const { return StackAdjustment; }