From 25bf4a8617804da394edc8b245fc9e4bc1f05def Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 20 Nov 2015 22:38:20 +0000 Subject: Power8 and later support fusing addis/addi and addis/ld instruction pairs that use the same register to execute as a single instruction. No Functional Change Patch by Kyle Butt! llvm-svn: 253724 --- llvm/lib/Target/PowerPC/PPCSubtarget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h') diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h index b21931b1b2d..105ceae4e36 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.h +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h @@ -119,6 +119,7 @@ protected: bool HasPartwordAtomics; bool HasDirectMove; bool HasHTM; + bool HasFusion; /// When targeting QPX running a stock PPC64 Linux kernel where the stack /// alignment has not been changed, we need to keep the 16-byte alignment @@ -254,6 +255,7 @@ public: return 16; } bool hasHTM() const { return HasHTM; } + bool hasFusion() const { return HasFusion; } const Triple &getTargetTriple() const { return TargetTriple; } -- cgit v1.2.3