OSDN Git Service

Explicitly set CPU and -slow-incdec to try to fix r303678's test on llvm-clang-x86_64...
authorDaniel Sanders <daniel_l_sanders@apple.com>
Wed, 24 May 2017 07:02:37 +0000 (07:02 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Wed, 24 May 2017 07:02:37 +0000 (07:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303727 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/GlobalISel/select-leaf-constant.mir

index 93a7aba..539520c 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llc -mtriple=i586-linux-gnu -global-isel -run-pass=instruction-select %s -o - | FileCheck %s --check-prefix=CHECK
+# RUN: llc -mtriple=i586-linux-gnu -mcpu=haswell -mattr=-slow-incdec -global-isel -run-pass=instruction-select %s -o - | FileCheck %s --check-prefix=CHECK
 #
 # This is necessary to test that attribute-based rule predicates work and that
 # they properly reset between functions.