Remove hasSSE1orAVX(). It's the same as hasXMM().

llvm-svn: 146246
This commit is contained in:
Evan Cheng 2011-12-09 06:32:46 +00:00
parent d04d152998
commit 557cda7f1d
3 changed files with 1 additions and 4 deletions

View File

@ -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,
list<dag> pattern>
: I<o, F, outs, ins, asm, pattern, SSEPackedSingle>, TB,
Requires<[HasSSE1orAVX]>;
Requires<[HasXMM]>;
// SSE2 Instruction Templates:
//

View File

@ -476,8 +476,6 @@ def HasAVX2 : Predicate<"Subtarget->hasAVX2()">;
def HasXMM : Predicate<"Subtarget->hasXMM()">;
def HasXMMInt : Predicate<"Subtarget->hasXMMInt()">;
def HasSSE1orAVX : Predicate<"Subtarget->hasSSE1orAVX()">;
def HasPOPCNT : Predicate<"Subtarget->hasPOPCNT()">;
def HasAES : Predicate<"Subtarget->hasAES()">;
def HasCLMUL : Predicate<"Subtarget->hasCLMUL()">;

View File

@ -193,7 +193,6 @@ public:
bool hasAVX2() const { return HasAVX2; }
bool hasXMM() const { return hasSSE1() || hasAVX(); }
bool hasXMMInt() const { return hasSSE2() || hasAVX(); }
bool hasSSE1orAVX() const { return hasSSE1() || hasAVX(); }
bool hasSSE3orAVX() const { return hasSSE3() || hasAVX(); }
bool hasSSSE3orAVX() const { return hasSSSE3() || hasAVX(); }
bool hasSSE41orAVX() const { return hasSSE41() || hasAVX(); }