OSDN Git Service

Tweak r303678's test to try to fix llvm-clang-x86_64-expensive-checks-win.
authorDaniel Sanders <daniel_l_sanders@apple.com>
Wed, 24 May 2017 06:05:14 +0000 (06:05 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Wed, 24 May 2017 06:05:14 +0000 (06:05 +0000)
I suspect this buildbot has slow-incdec set by default, most likely due to
the default CPU having this set. This feature bit can prevent optsize from
having an effect on this IR.

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

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

index 93a7aba..7a3e57c 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-pc-win32 -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.