From: Craig Topper Date: Sun, 29 Mar 2015 01:07:57 +0000 (+0000) Subject: Fix a variable name in MSVC specific part of rr233487. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=f46232d70daa5fe57df43697d3ca2dcb74a79c7b 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 --- diff --git a/lib/Support/Host.cpp b/lib/Support/Host.cpp index 2ff5689933c..a50e8437bdf 100644 --- a/lib/Support/Host.cpp +++ b/lib/Support/Host.cpp @@ -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;