[llvm-commits] [llvm] r74428 - /llvm/trunk/lib/Target/X86/X86Subtarget.h
David Greene
greened at obbligato.org
Mon Jun 29 09:51:02 PDT 2009
Author: greened
Date: Mon Jun 29 11:51:01 2009
New Revision: 74428
URL: http://llvm.org/viewvc/llvm-project?rev=74428&view=rev
Log:
Fix a subtarget feature bug.
Modified:
llvm/trunk/lib/Target/X86/X86Subtarget.h
Modified: llvm/trunk/lib/Target/X86/X86Subtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86Subtarget.h?rev=74428&r1=74427&r2=74428&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86Subtarget.h (original)
+++ llvm/trunk/lib/Target/X86/X86Subtarget.h Mon Jun 29 11:51:01 2009
@@ -142,7 +142,7 @@
bool hasSSE4A() const { return HasSSE4A; }
bool has3DNow() const { return X863DNowLevel >= ThreeDNow; }
bool has3DNowA() const { return X863DNowLevel >= ThreeDNowA; }
- bool hasAVX() const { return hasAVX(); }
+ bool hasAVX() const { return HasAVX; }
bool hasFMA3() const { return HasFMA3; }
bool hasFMA4() const { return HasFMA4; }
More information about the llvm-commits
mailing list