forked from OSchip/llvm-project
X86: initialize a few subtarget variables.
Otherwise an indeterminate value gets read, causing a bunch of UBSan failures. llvm-svn: 301819
This commit is contained in:
parent
cdcc5b61f4
commit
9bb6931c25
|
@ -290,6 +290,9 @@ void X86Subtarget::initializeEnvironment() {
|
|||
HasMWAITX = false;
|
||||
HasCLZERO = false;
|
||||
HasMPX = false;
|
||||
HasSGX = false;
|
||||
HasCLFLUSHOPT = false;
|
||||
HasCLWB = false;
|
||||
IsBTMemSlow = false;
|
||||
IsPMULLDSlow = false;
|
||||
IsSHLDSlow = false;
|
||||
|
|
Loading…
Reference in New Issue