summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/mem_update.ll
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2012-11-14 23:23:27 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2012-11-14 23:23:27 +0000
commit451499f02d8ff590fc782fe72f69ff899b467dfc (patch)
tree593f2b077b3f34be1cea1a200fc01bcb7ebffdfa /llvm/test/CodeGen/PowerPC/mem_update.ll
parent905a2d3d1739db79be3cfc2c53091c996fea33d2 (diff)
downloadbcm5719-llvm-451499f02d8ff590fc782fe72f69ff899b467dfc.tar.gz
bcm5719-llvm-451499f02d8ff590fc782fe72f69ff899b467dfc.zip
This patch is in preparation for adding medium code model support to the
PPC64 target. The five tests modified herein test code generation that is sensitive to the code model selected. So I've added -code-model=small to the RUN commands for each. Since small code model is the default, this has no effect for now; but this prepares us for eventually changing the default to medium code model for PPC64. Test changes verified with small and medium code model as default on powerpc64-unknown-linux-gnu. All tests continue to pass. llvm-svn: 167999
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/mem_update.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/mem_update.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/PowerPC/mem_update.ll b/llvm/test/CodeGen/PowerPC/mem_update.ll
index 39af11a3d54..fcf53da67fc 100644
--- a/llvm/test/CodeGen/PowerPC/mem_update.ll
+++ b/llvm/test/CodeGen/PowerPC/mem_update.ll
@@ -1,6 +1,6 @@
; RUN: llc < %s -march=ppc32 | \
; RUN: not grep addi
-; RUN: llc < %s -march=ppc64 | \
+; RUN: llc -code-model=small < %s -march=ppc64 | \
; RUN: not grep addi
@Glob = global i64 4
OpenPOWER on IntegriCloud