[llvm] r303720 - Tweak r303678's test to try to fix llvm-clang-x86_64-expensive-checks-win.
Daniel Sanders via llvm-commits
llvm-commits at lists.llvm.org
Tue May 23 23:05:15 PDT 2017
Author: dsanders
Date: Wed May 24 01:05:14 2017
New Revision: 303720
URL: http://llvm.org/viewvc/llvm-project?rev=303720&view=rev
Log:
Tweak r303678's test to try to fix llvm-clang-x86_64-expensive-checks-win.
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.
Modified:
llvm/trunk/test/CodeGen/X86/GlobalISel/select-leaf-constant.mir
Modified: llvm/trunk/test/CodeGen/X86/GlobalISel/select-leaf-constant.mir
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/GlobalISel/select-leaf-constant.mir?rev=303720&r1=303719&r2=303720&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/GlobalISel/select-leaf-constant.mir (original)
+++ llvm/trunk/test/CodeGen/X86/GlobalISel/select-leaf-constant.mir Wed May 24 01:05:14 2017
@@ -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.
More information about the llvm-commits
mailing list