X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FSystemZ%2FSystemZSubtarget.h;fp=lib%2FTarget%2FSystemZ%2FSystemZSubtarget.h;h=f321cb258a2d2c4e4cd977e58ab2679a74b3e11f;hb=d954716e7567282ff6f3d25b4f404bae006eed04;hp=4efb58d097b156ddaeaedcd2336a0422dde271f0;hpb=099e5328fcfae96b406782d636fe02a4ecad4552;p=oota-llvm.git diff --git a/lib/Target/SystemZ/SystemZSubtarget.h b/lib/Target/SystemZ/SystemZSubtarget.h index 4efb58d097b..f321cb258a2 100644 --- a/lib/Target/SystemZ/SystemZSubtarget.h +++ b/lib/Target/SystemZ/SystemZSubtarget.h @@ -30,6 +30,7 @@ protected: bool HasDistinctOps; bool HasLoadStoreOnCond; bool HasHighWord; + bool HasFPExtension; private: Triple TargetTriple; @@ -50,6 +51,9 @@ public: // Return true if the target has the high-word facility. bool hasHighWord() const { return HasHighWord; } + // Return true if the target has the floating-point extension facility. + bool hasFPExtension() const { return HasFPExtension; } + // 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,