diff options
Diffstat (limited to 'lib/Target/SystemZ/SystemZSubtarget.h')
-rw-r--r-- | lib/Target/SystemZ/SystemZSubtarget.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Target/SystemZ/SystemZSubtarget.h b/lib/Target/SystemZ/SystemZSubtarget.h index f7eaf01cb77ed..6007f6fc9c4cf 100644 --- a/lib/Target/SystemZ/SystemZSubtarget.h +++ b/lib/Target/SystemZ/SystemZSubtarget.h @@ -45,6 +45,7 @@ protected: bool HasTransactionalExecution; bool HasProcessorAssist; bool HasVector; + bool HasLoadStoreOnCond2; private: Triple TargetTriple; @@ -69,7 +70,7 @@ public: const SystemZTargetLowering *getTargetLowering() const override { return &TLInfo; } - const TargetSelectionDAGInfo *getSelectionDAGInfo() const override { + const SelectionDAGTargetInfo *getSelectionDAGInfo() const override { return &TSInfo; } @@ -85,6 +86,9 @@ public: // Return true if the target has the load/store-on-condition facility. bool hasLoadStoreOnCond() const { return HasLoadStoreOnCond; } + // Return true if the target has the load/store-on-condition facility 2. + bool hasLoadStoreOnCond2() const { return HasLoadStoreOnCond2; } + // Return true if the target has the high-word facility. bool hasHighWord() const { return HasHighWord; } @@ -116,8 +120,7 @@ public: // Return true if GV can be accessed using LARL for reloc model RM // and code model CM. - bool isPC32DBLSymbol(const GlobalValue *GV, Reloc::Model RM, - CodeModel::Model CM) const; + bool isPC32DBLSymbol(const GlobalValue *GV, CodeModel::Model CM) const; bool isTargetELF() const { return TargetTriple.isOSBinFormatELF(); } }; |