OSDN Git Service

[X86] Initialize HasPTWRITE member of X86Subtarget
authorGabor Buella <gabor.buella@intel.com>
Thu, 10 May 2018 19:15:10 +0000 (19:15 +0000)
committerGabor Buella <gabor.buella@intel.com>
Thu, 10 May 2018 19:15:10 +0000 (19:15 +0000)
This was missing from r331961.
Caught by sanitizer bots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332024 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Subtarget.cpp

index 188c0a1..a137cb4 100644 (file)
@@ -319,6 +319,7 @@ void X86Subtarget::initializeEnvironment() {
   HasCLDEMOTE = false;
   HasMOVDIRI = false;
   HasMOVDIR64B = false;
+  HasPTWRITE = false;
   HasMPX = false;
   HasSHSTK = false;
   HasIBT = false;