[llvm] r233488 - Fix a variable name in MSVC specific part of rr233487.

Craig Topper craig.topper at gmail.com
Sat Mar 28 18:07:57 PDT 2015


Author: ctopper
Date: Sat Mar 28 20:07:57 2015
New Revision: 233488

URL: http://llvm.org/viewvc/llvm-project?rev=233488&view=rev
Log:
Fix a variable name in MSVC specific part of rr233487.

Modified:
    llvm/trunk/lib/Support/Host.cpp

Modified: llvm/trunk/lib/Support/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Host.cpp?rev=233488&r1=233487&r2=233488&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Host.cpp (original)
+++ llvm/trunk/lib/Support/Host.cpp Sat Mar 28 20:07:57 2015
@@ -191,8 +191,8 @@ static bool GetX86XCR0(unsigned *rEAX, u
   return false;
 #elif defined(_MSC_FULL_VER) && defined(_XCR_XFEATURE_ENABLED_MASK)
   unsigned long long Result = _xgetbv(_XCR_XFEATURE_ENABLED_MASK);
-  *rEAX = Value;
-  *rEDX = Value >> 32;
+  *rEAX = Result;
+  *rEDX = Result >> 32;
   return false;
 #else
   return true;





More information about the llvm-commits mailing list