Another attempt to fix the build bot breaks after r360426
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Fri, 10 May 2019 15:44:56 +0000 (15:44 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Fri, 10 May 2019 15:44:56 +0000 (15:44 +0000)
The test case checks were produced by the update_test_checks.py
scripts and I assumed that is sufficient. However, the behaviour
is different with different default target triples. Specify the
triple explicitly in the test case.

If this doesn't clean up the build bot breaks, I'll remove the test
case until I can get to the bottom of why the behaviour on build bots
is different from my machine.

llvm-svn: 360434

llvm/test/Transforms/PhaseOrdering/reassociate-after-unroll.ll

index 0cb7b55..89d6af1 100644 (file)
@@ -1,7 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; REQUIRES: asserts
-; RUN: opt -O2 -S < %s | FileCheck %s
-; RUN: opt -passes='default<O2>' -S < %s | FileCheck %s --check-prefix=NPM
+; RUN: opt -mtriple=powerpc64le-unknown-unknown -O2 -S < %s | FileCheck %s
+; RUN: opt -mtriple=powerpc64le-unknown-unknown -passes='default<O2>' -S < %s | FileCheck %s --check-prefix=NPM
 
 target datalayout = "e-m:e-i64:64-n32:64"
 target triple = "powerpc64le-unknown-linux-gnu"