Fix a variable name in MSVC specific part of rr233487.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233488 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2015-03-29 01:07:57 +00:00
parent 87f3799e56
commit f46232d70d

View File

@ -191,8 +191,8 @@ static bool GetX86XCR0(unsigned *rEAX, unsigned *rEDX) {
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;