From: Igor Breger Date: Mon, 21 Aug 2017 09:17:28 +0000 (+0000) Subject: [GlobalISel][X86] InstructionSelector, for now use fallback path for LOAD_STACK_GUARD... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c7e6bed7bf1be3e5ce1a94909d67a4dc7eb300d;p=llvm [GlobalISel][X86] InstructionSelector, for now use fallback path for LOAD_STACK_GUARD and PHI nodes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311323 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstructionSelector.cpp b/lib/Target/X86/X86InstructionSelector.cpp index e2f38c51198..c29f402b522 100644 --- a/lib/Target/X86/X86InstructionSelector.cpp +++ b/lib/Target/X86/X86InstructionSelector.cpp @@ -285,6 +285,11 @@ bool X86InstructionSelector::select(MachineInstr &I) const { if (!isPreISelGenericOpcode(Opcode)) { // Certain non-generic instructions also need some special handling. + if (Opcode == TargetOpcode::LOAD_STACK_GUARD) + return false; + if (Opcode == TargetOpcode::PHI) + return false; + if (I.isCopy()) return selectCopy(I, MRI);