forked from OSchip/llvm-project
Remove hasSSE1orAVX(). It's the same as hasXMM().
llvm-svn: 146246
This commit is contained in:
parent
d04d152998
commit
557cda7f1d
|
@ -337,7 +337,7 @@ class VPSI<bits<8> o, Format F, dag outs, dag ins, string asm,
|
||||||
class VoPSI<bits<8> o, Format F, dag outs, dag ins, string asm,
|
class VoPSI<bits<8> o, Format F, dag outs, dag ins, string asm,
|
||||||
list<dag> pattern>
|
list<dag> pattern>
|
||||||
: I<o, F, outs, ins, asm, pattern, SSEPackedSingle>, TB,
|
: I<o, F, outs, ins, asm, pattern, SSEPackedSingle>, TB,
|
||||||
Requires<[HasSSE1orAVX]>;
|
Requires<[HasXMM]>;
|
||||||
|
|
||||||
// SSE2 Instruction Templates:
|
// SSE2 Instruction Templates:
|
||||||
//
|
//
|
||||||
|
|
|
@ -476,8 +476,6 @@ def HasAVX2 : Predicate<"Subtarget->hasAVX2()">;
|
||||||
def HasXMM : Predicate<"Subtarget->hasXMM()">;
|
def HasXMM : Predicate<"Subtarget->hasXMM()">;
|
||||||
def HasXMMInt : Predicate<"Subtarget->hasXMMInt()">;
|
def HasXMMInt : Predicate<"Subtarget->hasXMMInt()">;
|
||||||
|
|
||||||
def HasSSE1orAVX : Predicate<"Subtarget->hasSSE1orAVX()">;
|
|
||||||
|
|
||||||
def HasPOPCNT : Predicate<"Subtarget->hasPOPCNT()">;
|
def HasPOPCNT : Predicate<"Subtarget->hasPOPCNT()">;
|
||||||
def HasAES : Predicate<"Subtarget->hasAES()">;
|
def HasAES : Predicate<"Subtarget->hasAES()">;
|
||||||
def HasCLMUL : Predicate<"Subtarget->hasCLMUL()">;
|
def HasCLMUL : Predicate<"Subtarget->hasCLMUL()">;
|
||||||
|
|
|
@ -193,7 +193,6 @@ public:
|
||||||
bool hasAVX2() const { return HasAVX2; }
|
bool hasAVX2() const { return HasAVX2; }
|
||||||
bool hasXMM() const { return hasSSE1() || hasAVX(); }
|
bool hasXMM() const { return hasSSE1() || hasAVX(); }
|
||||||
bool hasXMMInt() const { return hasSSE2() || hasAVX(); }
|
bool hasXMMInt() const { return hasSSE2() || hasAVX(); }
|
||||||
bool hasSSE1orAVX() const { return hasSSE1() || hasAVX(); }
|
|
||||||
bool hasSSE3orAVX() const { return hasSSE3() || hasAVX(); }
|
bool hasSSE3orAVX() const { return hasSSE3() || hasAVX(); }
|
||||||
bool hasSSSE3orAVX() const { return hasSSSE3() || hasAVX(); }
|
bool hasSSSE3orAVX() const { return hasSSSE3() || hasAVX(); }
|
||||||
bool hasSSE41orAVX() const { return hasSSE41() || hasAVX(); }
|
bool hasSSE41orAVX() const { return hasSSE41() || hasAVX(); }
|
||||||
|
|
Loading…
Reference in New Issue