]> granicus.if.org Git - llvm/commitdiff
[GlobalISel][X86] InstructionSelector, for now use fallback path for LOAD_STACK_GUARD...
authorIgor Breger <igor.breger@intel.com>
Mon, 21 Aug 2017 09:17:28 +0000 (09:17 +0000)
committerIgor Breger <igor.breger@intel.com>
Mon, 21 Aug 2017 09:17:28 +0000 (09:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311323 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstructionSelector.cpp

index e2f38c51198ce588c15ae75570c07a33de64a059..c29f402b52231e067da14df93213ec9c3ab4fae8 100644 (file)
@@ -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);