summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2015-01-14 01:37:21 +0000
committerHal Finkel <hfinkel@anl.gov>2015-01-14 01:37:21 +0000
commit2307a2f08802d986ded3068096ffdbce27024ded (patch)
tree9853b0bef429a756af0cb90f9077349a0acf1683 /llvm/test/CodeGen
parentedb6f0385219f997d2aeb0eeb1317504dad2d28f (diff)
downloadbcm5719-llvm-2307a2f08802d986ded3068096ffdbce27024ded.tar.gz
bcm5719-llvm-2307a2f08802d986ded3068096ffdbce27024ded.zip
[PowerPC] Fix the noop-insert test
The form of nops used is CPU-specific (some CPUs, such as the POWER7, have special group-terminating nops). We probably want a different callback for this kind of nop insertion (something more like MCAsmBackend::writeNopData), or for PPC to use a different mechanism for scheduling nops, but this will stop the test from failing for now. llvm-svn: 225928
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/PowerPC/noop-insert.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/PowerPC/noop-insert.ll b/llvm/test/CodeGen/PowerPC/noop-insert.ll
index f019189d372..ac8f744919a 100644
--- a/llvm/test/CodeGen/PowerPC/noop-insert.ll
+++ b/llvm/test/CodeGen/PowerPC/noop-insert.ll
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=ppc32 -noop-insertion | FileCheck %s
-; RUN: llc < %s -march=ppc32 -noop-insertion -rng-seed=1 | FileCheck %s --check-prefix=SEED1
-; RUN: llc < %s -march=ppc32 -noop-insertion -noop-insertion-percentage=100 | FileCheck %s --check-prefix=100PERCENT
+; RUN: llc < %s -march=ppc32 -mcpu=g4 -noop-insertion | FileCheck %s
+; RUN: llc < %s -march=ppc32 -mcpu=g4 -noop-insertion -rng-seed=1 | FileCheck %s --check-prefix=SEED1
+; RUN: llc < %s -march=ppc32 -mcpu=g4 -noop-insertion -noop-insertion-percentage=100 | FileCheck %s --check-prefix=100PERCENT
; This test case checks that NOOPs are inserted correctly for PowerPC.
OpenPOWER on IntegriCloud