[llvm] r309754 - PowerPC: Do not use llc -march in tests.
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 15:20:42 PDT 2017
Author: matze
Date: Tue Aug 1 15:20:41 2017
New Revision: 309754
URL: http://llvm.org/viewvc/llvm-project?rev=309754&view=rev
Log:
PowerPC: Do not use llc -march in tests.
`llc -march` is problematic because it only switches the target
architecture, but leaves the operating system unchanged. This
occasionally leads to indeterministic tests because the OS from
LLVM_DEFAULT_TARGET_TRIPLE is used.
However we can simply always use `llc -mtriple` instead. This changes
all the tests to do this to avoid people using -march when they copy and
paste parts of tests.
This patch:
- Removes -march if the .ll file already has a matching `target triple`
directive or -mtriple argument.
- In all other cases changes -march=ppc32/-march=ppc64 to
-mtriple=ppc32--/-mtriple=ppc64--
See also the discussion in https://reviews.llvm.org/D35287
Modified:
llvm/trunk/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
llvm/trunk/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll
llvm/trunk/test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll
llvm/trunk/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll
llvm/trunk/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll
llvm/trunk/test/CodeGen/PowerPC/2005-01-14-UndefLong.ll
llvm/trunk/test/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll
llvm/trunk/test/CodeGen/PowerPC/2005-09-02-LegalizeDuplicatesCalls.ll
llvm/trunk/test/CodeGen/PowerPC/2005-10-08-ArithmeticRotate.ll
llvm/trunk/test/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll
llvm/trunk/test/CodeGen/PowerPC/2006-04-05-splat-ish.ll
llvm/trunk/test/CodeGen/PowerPC/2006-04-19-vmaddfp-crash.ll
llvm/trunk/test/CodeGen/PowerPC/2006-05-12-rlwimi-crash.ll
llvm/trunk/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll
llvm/trunk/test/CodeGen/PowerPC/2006-08-11-RetVector.ll
llvm/trunk/test/CodeGen/PowerPC/2006-09-28-shift_64.ll
llvm/trunk/test/CodeGen/PowerPC/2006-10-13-Miscompile.ll
llvm/trunk/test/CodeGen/PowerPC/2006-10-17-brcc-miscompile.ll
llvm/trunk/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll
llvm/trunk/test/CodeGen/PowerPC/2006-11-10-DAGCombineMiscompile.ll
llvm/trunk/test/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll
llvm/trunk/test/CodeGen/PowerPC/2006-12-07-LargeAlloca.ll
llvm/trunk/test/CodeGen/PowerPC/2006-12-07-SelectCrash.ll
llvm/trunk/test/CodeGen/PowerPC/2007-01-04-ArgExtension.ll
llvm/trunk/test/CodeGen/PowerPC/2007-01-15-AsmDialect.ll
llvm/trunk/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll
llvm/trunk/test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll
llvm/trunk/test/CodeGen/PowerPC/2007-02-16-AlignPacked.ll
llvm/trunk/test/CodeGen/PowerPC/2007-03-30-SpillerCrash.ll
llvm/trunk/test/CodeGen/PowerPC/2007-04-24-InlineAsm-I-Modifier.ll
llvm/trunk/test/CodeGen/PowerPC/2007-05-14-InlineAsmSelectCrash.ll
llvm/trunk/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll
llvm/trunk/test/CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll
llvm/trunk/test/CodeGen/PowerPC/2007-06-28-BCCISelBug.ll
llvm/trunk/test/CodeGen/PowerPC/2007-08-04-CoalescerAssert.ll
llvm/trunk/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll
llvm/trunk/test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll
llvm/trunk/test/CodeGen/PowerPC/2007-09-11-RegCoalescerAssert.ll
llvm/trunk/test/CodeGen/PowerPC/2007-10-16-InlineAsmFrameOffset.ll
llvm/trunk/test/CodeGen/PowerPC/2007-10-18-PtrArithmetic.ll
llvm/trunk/test/CodeGen/PowerPC/2007-11-19-VectorSplitting.ll
llvm/trunk/test/CodeGen/PowerPC/2008-03-17-RegScavengerCrash.ll
llvm/trunk/test/CodeGen/PowerPC/2008-03-18-RegScavengerAssert.ll
llvm/trunk/test/CodeGen/PowerPC/2008-03-24-AddressRegImm.ll
llvm/trunk/test/CodeGen/PowerPC/2008-03-24-CoalescerBug.ll
llvm/trunk/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll
llvm/trunk/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll
llvm/trunk/test/CodeGen/PowerPC/2008-06-21-F128LoadStore.ll
llvm/trunk/test/CodeGen/PowerPC/2008-06-23-LiveVariablesCrash.ll
llvm/trunk/test/CodeGen/PowerPC/2008-07-10-SplatMiscompile.ll
llvm/trunk/test/CodeGen/PowerPC/2008-10-28-UnprocessedNode.ll
llvm/trunk/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll
llvm/trunk/test/CodeGen/PowerPC/2009-07-16-InlineAsm-M-Operand.ll
llvm/trunk/test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll
llvm/trunk/test/CodeGen/PowerPC/2009-09-18-carrybit.ll
llvm/trunk/test/CodeGen/PowerPC/2010-03-09-indirect-call.ll
llvm/trunk/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll
llvm/trunk/test/CodeGen/PowerPC/Atomics-64.ll
llvm/trunk/test/CodeGen/PowerPC/DbgValueOtherTargets.test
llvm/trunk/test/CodeGen/PowerPC/Frames-alloca.ll
llvm/trunk/test/CodeGen/PowerPC/Frames-large.ll
llvm/trunk/test/CodeGen/PowerPC/Frames-leaf.ll
llvm/trunk/test/CodeGen/PowerPC/Frames-small.ll
llvm/trunk/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll
llvm/trunk/test/CodeGen/PowerPC/MergeConsecutiveStores.ll
llvm/trunk/test/CodeGen/PowerPC/a2-fp-basic.ll
llvm/trunk/test/CodeGen/PowerPC/a2q-stackalign.ll
llvm/trunk/test/CodeGen/PowerPC/a2q.ll
llvm/trunk/test/CodeGen/PowerPC/addi-reassoc.ll
llvm/trunk/test/CodeGen/PowerPC/and-branch.ll
llvm/trunk/test/CodeGen/PowerPC/and-elim.ll
llvm/trunk/test/CodeGen/PowerPC/and-imm.ll
llvm/trunk/test/CodeGen/PowerPC/and_add.ll
llvm/trunk/test/CodeGen/PowerPC/and_sext.ll
llvm/trunk/test/CodeGen/PowerPC/and_sra.ll
llvm/trunk/test/CodeGen/PowerPC/asm-Zy.ll
llvm/trunk/test/CodeGen/PowerPC/atomic-1.ll
llvm/trunk/test/CodeGen/PowerPC/atomic-2.ll
llvm/trunk/test/CodeGen/PowerPC/atomics-fences.ll
llvm/trunk/test/CodeGen/PowerPC/atomics-indexed.ll
llvm/trunk/test/CodeGen/PowerPC/atomics.ll
llvm/trunk/test/CodeGen/PowerPC/big-endian-actual-args.ll
llvm/trunk/test/CodeGen/PowerPC/big-endian-call-result.ll
llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll
llvm/trunk/test/CodeGen/PowerPC/blockaddress.ll
llvm/trunk/test/CodeGen/PowerPC/branch-opt.ll
llvm/trunk/test/CodeGen/PowerPC/bswap-load-store.ll
llvm/trunk/test/CodeGen/PowerPC/buildvec_canonicalize.ll
llvm/trunk/test/CodeGen/PowerPC/calls.ll
llvm/trunk/test/CodeGen/PowerPC/cmp-cmp.ll
llvm/trunk/test/CodeGen/PowerPC/coal-sections.ll
llvm/trunk/test/CodeGen/PowerPC/coalesce-ext.ll
llvm/trunk/test/CodeGen/PowerPC/compare-simm.ll
llvm/trunk/test/CodeGen/PowerPC/constants.ll
llvm/trunk/test/CodeGen/PowerPC/cr_spilling.ll
llvm/trunk/test/CodeGen/PowerPC/ctrloop-asm.ll
llvm/trunk/test/CodeGen/PowerPC/ctrloop-le.ll
llvm/trunk/test/CodeGen/PowerPC/ctrloop-lt.ll
llvm/trunk/test/CodeGen/PowerPC/ctrloop-ne.ll
llvm/trunk/test/CodeGen/PowerPC/ctrloop-reg.ll
llvm/trunk/test/CodeGen/PowerPC/ctrloop-s000.ll
llvm/trunk/test/CodeGen/PowerPC/ctrloop-sums.ll
llvm/trunk/test/CodeGen/PowerPC/ctrloop-udivti3.ll
llvm/trunk/test/CodeGen/PowerPC/ctrloops.ll
llvm/trunk/test/CodeGen/PowerPC/cttz.ll
llvm/trunk/test/CodeGen/PowerPC/dbg.ll
llvm/trunk/test/CodeGen/PowerPC/delete-node.ll
llvm/trunk/test/CodeGen/PowerPC/div-2.ll
llvm/trunk/test/CodeGen/PowerPC/eqv-andc-orc-nor.ll
llvm/trunk/test/CodeGen/PowerPC/extsh.ll
llvm/trunk/test/CodeGen/PowerPC/fabs.ll
llvm/trunk/test/CodeGen/PowerPC/fma-assoc.ll
llvm/trunk/test/CodeGen/PowerPC/fma-ext.ll
llvm/trunk/test/CodeGen/PowerPC/fma.ll
llvm/trunk/test/CodeGen/PowerPC/fmaxnum.ll
llvm/trunk/test/CodeGen/PowerPC/fminnum.ll
llvm/trunk/test/CodeGen/PowerPC/fnabs.ll
llvm/trunk/test/CodeGen/PowerPC/fneg.ll
llvm/trunk/test/CodeGen/PowerPC/fold-li.ll
llvm/trunk/test/CodeGen/PowerPC/fp-branch.ll
llvm/trunk/test/CodeGen/PowerPC/fp-int-fp.ll
llvm/trunk/test/CodeGen/PowerPC/fp_to_uint.ll
llvm/trunk/test/CodeGen/PowerPC/fpcopy.ll
llvm/trunk/test/CodeGen/PowerPC/frounds.ll
llvm/trunk/test/CodeGen/PowerPC/fsqrt.ll
llvm/trunk/test/CodeGen/PowerPC/hello.ll
llvm/trunk/test/CodeGen/PowerPC/i1-to-double.ll
llvm/trunk/test/CodeGen/PowerPC/i128-and-beyond.ll
llvm/trunk/test/CodeGen/PowerPC/i64_fp.ll
llvm/trunk/test/CodeGen/PowerPC/iabs.ll
llvm/trunk/test/CodeGen/PowerPC/illegal-element-type.ll
llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll
llvm/trunk/test/CodeGen/PowerPC/inlineasm-copy.ll
llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-0.ll
llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-1.ll
llvm/trunk/test/CodeGen/PowerPC/inverted-bool-compares.ll
llvm/trunk/test/CodeGen/PowerPC/ispositive.ll
llvm/trunk/test/CodeGen/PowerPC/itofp128.ll
llvm/trunk/test/CodeGen/PowerPC/lha.ll
llvm/trunk/test/CodeGen/PowerPC/load-constant-addr.ll
llvm/trunk/test/CodeGen/PowerPC/long-compare.ll
llvm/trunk/test/CodeGen/PowerPC/mature-mc-support.ll
llvm/trunk/test/CodeGen/PowerPC/mem-rr-addr-mode.ll
llvm/trunk/test/CodeGen/PowerPC/mem_update.ll
llvm/trunk/test/CodeGen/PowerPC/mul-neg-power-2.ll
llvm/trunk/test/CodeGen/PowerPC/mul-with-overflow.ll
llvm/trunk/test/CodeGen/PowerPC/mulhs.ll
llvm/trunk/test/CodeGen/PowerPC/mult-alt-generic-powerpc.ll
llvm/trunk/test/CodeGen/PowerPC/mult-alt-generic-powerpc64.ll
llvm/trunk/test/CodeGen/PowerPC/neg.ll
llvm/trunk/test/CodeGen/PowerPC/popcnt.ll
llvm/trunk/test/CodeGen/PowerPC/ppc-vaarg-agg.ll
llvm/trunk/test/CodeGen/PowerPC/ppc32-i1-vaarg.ll
llvm/trunk/test/CodeGen/PowerPC/ppc440-fp-basic.ll
llvm/trunk/test/CodeGen/PowerPC/ppc440-msync.ll
llvm/trunk/test/CodeGen/PowerPC/ppc64-altivec-abi.ll
llvm/trunk/test/CodeGen/PowerPC/ppc64-byval-align.ll
llvm/trunk/test/CodeGen/PowerPC/ppc64-calls.ll
llvm/trunk/test/CodeGen/PowerPC/ppc64-get-cache-line-size.ll
llvm/trunk/test/CodeGen/PowerPC/ppc64le-aggregates.ll
llvm/trunk/test/CodeGen/PowerPC/ppc64le-calls.ll
llvm/trunk/test/CodeGen/PowerPC/ppc64le-localentry-large.ll
llvm/trunk/test/CodeGen/PowerPC/ppc64le-localentry.ll
llvm/trunk/test/CodeGen/PowerPC/ppcf128-2.ll
llvm/trunk/test/CodeGen/PowerPC/ppcf128-3.ll
llvm/trunk/test/CodeGen/PowerPC/ppcf128-4.ll
llvm/trunk/test/CodeGen/PowerPC/pr18663-2.ll
llvm/trunk/test/CodeGen/PowerPC/pr18663.ll
llvm/trunk/test/CodeGen/PowerPC/pr3711_widen_bit.ll
llvm/trunk/test/CodeGen/PowerPC/pwr3-6x.ll
llvm/trunk/test/CodeGen/PowerPC/qpx-bv-sint.ll
llvm/trunk/test/CodeGen/PowerPC/qpx-func-clobber.ll
llvm/trunk/test/CodeGen/PowerPC/qpx-load.ll
llvm/trunk/test/CodeGen/PowerPC/qpx-s-load.ll
llvm/trunk/test/CodeGen/PowerPC/qpx-s-sel.ll
llvm/trunk/test/CodeGen/PowerPC/qpx-s-store.ll
llvm/trunk/test/CodeGen/PowerPC/qpx-sel.ll
llvm/trunk/test/CodeGen/PowerPC/qpx-store.ll
llvm/trunk/test/CodeGen/PowerPC/reg-coalesce-simple.ll
llvm/trunk/test/CodeGen/PowerPC/restore-r30.ll
llvm/trunk/test/CodeGen/PowerPC/retaddr.ll
llvm/trunk/test/CodeGen/PowerPC/return-val-i128.ll
llvm/trunk/test/CodeGen/PowerPC/rlwimi-commute.ll
llvm/trunk/test/CodeGen/PowerPC/rlwimi-keep-rsh.ll
llvm/trunk/test/CodeGen/PowerPC/rlwimi.ll
llvm/trunk/test/CodeGen/PowerPC/rlwimi2.ll
llvm/trunk/test/CodeGen/PowerPC/rlwimi3.ll
llvm/trunk/test/CodeGen/PowerPC/rlwinm.ll
llvm/trunk/test/CodeGen/PowerPC/rlwinm2.ll
llvm/trunk/test/CodeGen/PowerPC/rotl-2.ll
llvm/trunk/test/CodeGen/PowerPC/rotl-64.ll
llvm/trunk/test/CodeGen/PowerPC/rotl.ll
llvm/trunk/test/CodeGen/PowerPC/s000-alias-misched.ll
llvm/trunk/test/CodeGen/PowerPC/save-bp.ll
llvm/trunk/test/CodeGen/PowerPC/save-cr-ppc32svr4.ll
llvm/trunk/test/CodeGen/PowerPC/save-crbp-ppc32svr4.ll
llvm/trunk/test/CodeGen/PowerPC/select-cc.ll
llvm/trunk/test/CodeGen/PowerPC/select_lt0.ll
llvm/trunk/test/CodeGen/PowerPC/setcc_no_zext.ll
llvm/trunk/test/CodeGen/PowerPC/seteq-0.ll
llvm/trunk/test/CodeGen/PowerPC/shl_elim.ll
llvm/trunk/test/CodeGen/PowerPC/shl_sext.ll
llvm/trunk/test/CodeGen/PowerPC/sign_ext_inreg1.ll
llvm/trunk/test/CodeGen/PowerPC/small-arguments.ll
llvm/trunk/test/CodeGen/PowerPC/stfiwx.ll
llvm/trunk/test/CodeGen/PowerPC/store-load-fwd.ll
llvm/trunk/test/CodeGen/PowerPC/subc.ll
llvm/trunk/test/CodeGen/PowerPC/tailcall1.ll
llvm/trunk/test/CodeGen/PowerPC/tls-cse.ll
llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll
llvm/trunk/test/CodeGen/PowerPC/tls-store2.ll
llvm/trunk/test/CodeGen/PowerPC/tls.ll
llvm/trunk/test/CodeGen/PowerPC/trampoline.ll
llvm/trunk/test/CodeGen/PowerPC/unsafe-math.ll
llvm/trunk/test/CodeGen/PowerPC/vcmp-fold.ll
llvm/trunk/test/CodeGen/PowerPC/vec_abs.ll
llvm/trunk/test/CodeGen/PowerPC/vec_auto_constant.ll
llvm/trunk/test/CodeGen/PowerPC/vec_br_cmp.ll
llvm/trunk/test/CodeGen/PowerPC/vec_buildvector_loadstore.ll
llvm/trunk/test/CodeGen/PowerPC/vec_call.ll
llvm/trunk/test/CodeGen/PowerPC/vec_fneg.ll
llvm/trunk/test/CodeGen/PowerPC/vec_insert.ll
llvm/trunk/test/CodeGen/PowerPC/vec_misaligned.ll
llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll
llvm/trunk/test/CodeGen/PowerPC/vec_perf_shuffle.ll
llvm/trunk/test/CodeGen/PowerPC/vec_shift.ll
llvm/trunk/test/CodeGen/PowerPC/vec_shuffle.ll
llvm/trunk/test/CodeGen/PowerPC/vec_splat.ll
llvm/trunk/test/CodeGen/PowerPC/vec_splat_constant.ll
llvm/trunk/test/CodeGen/PowerPC/vec_vrsave.ll
llvm/trunk/test/CodeGen/PowerPC/vec_zero.ll
llvm/trunk/test/CodeGen/PowerPC/vector-identity-shuffle.ll
llvm/trunk/test/CodeGen/PowerPC/vector-merge-store-fp-constants.ll
llvm/trunk/test/CodeGen/PowerPC/vector.ll
Modified: llvm/trunk/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
define void @test() {
%tr1 = lshr i32 1, 0 ; <i32> [#uses=0]
ret void
Modified: llvm/trunk/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
define void @main() {
%tr4 = shl i64 1, 0 ; <i64> [#uses=0]
Modified: llvm/trunk/test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
define void @main() {
%shamt = add i8 0, 1 ; <i8> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep .comm.*X,0
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep .comm.*X,0
@X = linkonce global { } zeroinitializer ; <{ }*> [#uses=0]
Modified: llvm/trunk/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
define i32 @main() {
%setle = icmp sle i64 1, 0 ; <i1> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/2005-01-14-UndefLong.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2005-01-14-UndefLong.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2005-01-14-UndefLong.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2005-01-14-UndefLong.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
define i64 @test() {
ret i64 undef
Modified: llvm/trunk/test/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
; this should not crash the ppc backend
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
define i32 @test(i32 %j.0.0.i) {
Modified: llvm/trunk/test/CodeGen/PowerPC/2005-09-02-LegalizeDuplicatesCalls.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2005-09-02-LegalizeDuplicatesCalls.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2005-09-02-LegalizeDuplicatesCalls.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2005-09-02-LegalizeDuplicatesCalls.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
; This function should have exactly one call to fixdfdi, no more!
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mattr=-64bit | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mattr=-64bit | \
; RUN: grep "bl .*fixdfdi" | count 1
define double @test2(double %tmp.7705) {
Modified: llvm/trunk/test/CodeGen/PowerPC/2005-10-08-ArithmeticRotate.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2005-10-08-ArithmeticRotate.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2005-10-08-ArithmeticRotate.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2005-10-08-ArithmeticRotate.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
; This was erroneously being turned into an rlwinm instruction.
; The sign bit does matter in this case.
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep srawi
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep srawi
define i32 @test(i32 %X) {
%Y = and i32 %X, -2 ; <i32> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
define double @CalcSpeed(float %tmp127) {
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-04-05-splat-ish.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-04-05-splat-ish.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-04-05-splat-ish.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-04-05-splat-ish.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \
; RUN: grep "vspltish v.*, 10"
define void @test(<8 x i16>* %P) {
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-04-19-vmaddfp-crash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-04-19-vmaddfp-crash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-04-19-vmaddfp-crash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-04-19-vmaddfp-crash.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5
; END.
define void @test(i8* %stack) {
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-05-12-rlwimi-crash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-05-12-rlwimi-crash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-05-12-rlwimi-crash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-05-12-rlwimi-crash.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
; END.
%struct.attr_desc = type { i8*, %struct.attr_desc*, %struct.attr_value*, %struct.attr_value*, i32 }
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
define void @img2buf(i32 %symbol_size_in_bytes, i16* %ui16) nounwind {
%tmp93 = load i16, i16* null ; <i16> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-08-11-RetVector.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-08-11-RetVector.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-08-11-RetVector.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-08-11-RetVector.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | grep vsldoi
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | not grep vor
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | grep vsldoi
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | not grep vor
define <4 x float> @func(<4 x float> %fp0, <4 x float> %fp1) {
%tmp76 = shufflevector <4 x float> %fp0, <4 x float> %fp1, <4 x i32> < i32 0, i32 1, i32 2, i32 7 > ; <<4 x float>> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-09-28-shift_64.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-09-28-shift_64.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-09-28-shift_64.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-09-28-shift_64.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
+; RUN: llc -verify-machineinstrs < %s
target datalayout = "E-p:64:64"
target triple = "powerpc64-apple-darwin8"
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-10-13-Miscompile.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-10-13-Miscompile.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-10-13-Miscompile.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-10-13-Miscompile.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep IMPLICIT_DEF
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep IMPLICIT_DEF
define void @foo(i64 %X) {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-10-17-brcc-miscompile.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-10-17-brcc-miscompile.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-10-17-brcc-miscompile.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-10-17-brcc-miscompile.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep xor
+; RUN: llc -verify-machineinstrs < %s | grep xor
target datalayout = "E-p:32:32"
target triple = "powerpc-apple-darwin8.7.0"
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc64
+; RUN: llc < %s -mtriple=ppc64--
define i32* @foo(i32 %n) {
%A = alloca i32, i32 %n ; <i32*> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-11-10-DAGCombineMiscompile.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-11-10-DAGCombineMiscompile.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-11-10-DAGCombineMiscompile.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-11-10-DAGCombineMiscompile.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep rlwimi
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep rlwimi
define void @test(i16 %div.0.i.i.i.i, i32 %L_num.0.i.i.i.i, i32 %tmp1.i.i206.i.i, i16* %P) {
%X = shl i16 %div.0.i.i.i.i, 1 ; <i16> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5
define void @glgRunProcessor15() {
%tmp26355.i = shufflevector <4 x float> zeroinitializer, <4 x float> < float 0x379FFFE000000000, float 0x379FFFE000000000, float 0x379FFFE000000000, float 0x379FFFE000000000 >, <4 x i32> < i32 0, i32 1, i32 2, i32 7 >; <<4 x float>> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-12-07-LargeAlloca.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-12-07-LargeAlloca.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-12-07-LargeAlloca.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-12-07-LargeAlloca.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
-; RUN: llc -verify-machineinstrs < %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64--
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
+; RUN: llc -verify-machineinstrs < %s
; REQUIRES: default_triple
define void @bitap() {
Modified: llvm/trunk/test/CodeGen/PowerPC/2006-12-07-SelectCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2006-12-07-SelectCrash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2006-12-07-SelectCrash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2006-12-07-SelectCrash.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64--
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
; RUN: llc -verify-machineinstrs < %s
; REQUIRES: default_triple
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-01-04-ArgExtension.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-01-04-ArgExtension.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-01-04-ArgExtension.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-01-04-ArgExtension.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep extsb
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep extsh
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep extsb
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep extsh
define i32 @p1(i8 %c, i16 %s) {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-01-15-AsmDialect.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-01-15-AsmDialect.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-01-15-AsmDialect.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-01-15-AsmDialect.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 | \
; RUN: grep cntlz
define i32 @foo() nounwind {
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64--
define i16 @test(i8* %d1, i16* %d2) {
%tmp237 = call i16 asm "lhbrx $0, $2, $1", "=r,r,bO,m"( i8* %d1, i32 0, i16* %d2 ) ; <i16> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64--
; Test two things: 1) that a frameidx can be rewritten in an inline asm
; 2) that inline asms can handle reg+imm addr modes.
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-02-16-AlignPacked.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-02-16-AlignPacked.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-02-16-AlignPacked.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-02-16-AlignPacked.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8.8.0 | \
; RUN: grep align.*3
@X = global <{i32, i32}> <{ i32 1, i32 123 }>
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-03-30-SpillerCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-03-30-SpillerCrash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-03-30-SpillerCrash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-03-30-SpillerCrash.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5
define void @test(<4 x float>*, { { i16, i16, i32 } }*) {
xOperationInitMasks.exit:
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-04-24-InlineAsm-I-Modifier.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-04-24-InlineAsm-I-Modifier.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-04-24-InlineAsm-I-Modifier.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-04-24-InlineAsm-I-Modifier.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 -no-integrated-as | grep "foo r3, r4"
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8.8.0 -no-integrated-as | grep "bari r3, 47"
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8.8.0 -no-integrated-as | grep "foo r3, r4"
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8.8.0 -no-integrated-as | grep "bari r3, 47"
; PR1351
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-05-14-InlineAsmSelectCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-05-14-InlineAsmSelectCrash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-05-14-InlineAsmSelectCrash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-05-14-InlineAsmSelectCrash.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
target triple = "powerpc-apple-darwin8.8.0"
%struct..0anon = type { i32 }
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -enable-tail-merge=0 | grep bl.*baz | count 2
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -enable-tail-merge=0 | grep bl.*quux | count 2
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep bl.*baz | count 1
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep bl.*quux | count 1
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -enable-tail-merge=0 | grep bl.*baz | count 2
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -enable-tail-merge=0 | grep bl.*quux | count 2
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep bl.*baz | count 1
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep bl.*quux | count 1
; Check that tail merging is the default on ppc, and that -enable-tail-merge works.
; ModuleID = 'tail.c'
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll Tue Aug 1 15:20:41 2017
@@ -1,9 +1,8 @@
+; RUN: llc -verify-machineinstrs < %s | grep "rlwinm r3, r3, 23, 30, 30"
+; PR1473
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
target triple = "powerpc-apple-darwin8.8.0"
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep "rlwinm r3, r3, 23, 30, 30"
-; PR1473
-
define zeroext i8 @foo(i16 zeroext %a) {
%tmp2 = lshr i16 %a, 10 ; <i16> [#uses=1]
%tmp23 = trunc i16 %tmp2 to i8 ; <i8> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-06-28-BCCISelBug.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-06-28-BCCISelBug.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-06-28-BCCISelBug.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-06-28-BCCISelBug.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mattr=+altivec
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mattr=+altivec
%struct.XATest = type { float, i16, i8, i8 }
%struct.XArrayRange = type { i8, i8, i8, i8 }
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-08-04-CoalescerAssert.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-08-04-CoalescerAssert.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-08-04-CoalescerAssert.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-08-04-CoalescerAssert.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64--
; PR1596
%struct._obstack_chunk = type { i8* }
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mattr=+altivec | grep dst | count 4
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mattr=+altivec | grep dst | count 4
define hidden void @_Z4borkPc(i8* %image) {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -O1 | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | FileCheck --check-prefix=CHECK-OPT %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -O1 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- | FileCheck --check-prefix=CHECK-OPT %s
%struct.__db_region = type { %struct.__mutex_t, [4 x i8], %struct.anon, i32, [1 x i32] }
%struct.__mutex_t = type { i32 }
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-09-11-RegCoalescerAssert.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-09-11-RegCoalescerAssert.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-09-11-RegCoalescerAssert.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-09-11-RegCoalescerAssert.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64--
%struct.TCMalloc_SpinLock = type { i32 }
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-10-16-InlineAsmFrameOffset.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-10-16-InlineAsmFrameOffset.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-10-16-InlineAsmFrameOffset.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-10-16-InlineAsmFrameOffset.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
; rdar://5538377
%struct.disk_unsigned = type { i32 }
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-10-18-PtrArithmetic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-10-18-PtrArithmetic.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-10-18-PtrArithmetic.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-10-18-PtrArithmetic.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mattr=+altivec
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mattr=+altivec
%struct.inoutprops = type <{ i8, [3 x i8] }>
define void @bork(float* %argA, float* %argB, float* %res, i8 %inoutspec.0) {
Modified: llvm/trunk/test/CodeGen/PowerPC/2007-11-19-VectorSplitting.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2007-11-19-VectorSplitting.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2007-11-19-VectorSplitting.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2007-11-19-VectorSplitting.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
-; RUN: llc -verify-machineinstrs < %s
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g3
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
+; RUN: llc -verify-machineinstrs < %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g3
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5
; PR1811
; REQUIRES: default_triple
Modified: llvm/trunk/test/CodeGen/PowerPC/2008-03-17-RegScavengerCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-03-17-RegScavengerCrash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-03-17-RegScavengerCrash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-03-17-RegScavengerCrash.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
%struct._cpp_strbuf = type { i8*, i32, i32 }
%struct.cpp_string = type { i32, i8* }
Modified: llvm/trunk/test/CodeGen/PowerPC/2008-03-18-RegScavengerAssert.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-03-18-RegScavengerAssert.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-03-18-RegScavengerAssert.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-03-18-RegScavengerAssert.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64--
define i16 @test(i8* %d1, i16* %d2) {
%tmp237 = call i16 asm "lhbrx $0, $2, $1", "=r,r,bO,m"( i8* %d1, i32 0, i16* %d2 )
Modified: llvm/trunk/test/CodeGen/PowerPC/2008-03-24-AddressRegImm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-03-24-AddressRegImm.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-03-24-AddressRegImm.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-03-24-AddressRegImm.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64--
define fastcc i8* @page_rec_get_next(i8* %rec) nounwind {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/2008-03-24-CoalescerBug.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-03-24-CoalescerBug.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-03-24-CoalescerBug.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-03-24-CoalescerBug.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
%struct..0objc_object = type { %struct.objc_class* }
%struct.NSArray = type { %struct..0objc_object }
Modified: llvm/trunk/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s
target triple = "powerpc-apple-darwin9.2.2"
define i256 @func(ppc_fp128 %a, ppc_fp128 %b, ppc_fp128 %c, ppc_fp128 %d) nounwind readnone {
Modified: llvm/trunk/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
define void @t() nounwind {
call void null( ppc_fp128 undef )
Modified: llvm/trunk/test/CodeGen/PowerPC/2008-06-21-F128LoadStore.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-06-21-F128LoadStore.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-06-21-F128LoadStore.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-06-21-F128LoadStore.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
@g = external global ppc_fp128
@h = external global ppc_fp128
Modified: llvm/trunk/test/CodeGen/PowerPC/2008-06-23-LiveVariablesCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-06-23-LiveVariablesCrash.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-06-23-LiveVariablesCrash.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-06-23-LiveVariablesCrash.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
; <rdar://problem/6020042>
define i32 @bork() nounwind {
Modified: llvm/trunk/test/CodeGen/PowerPC/2008-07-10-SplatMiscompile.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-07-10-SplatMiscompile.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-07-10-SplatMiscompile.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-07-10-SplatMiscompile.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | grep vadduhm
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | grep vsubuhm
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | grep vadduhm
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | grep vsubuhm
define <4 x i32> @test() nounwind {
ret <4 x i32> < i32 4293066722, i32 4293066722, i32 4293066722, i32 4293066722>
Modified: llvm/trunk/test/CodeGen/PowerPC/2008-10-28-UnprocessedNode.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-10-28-UnprocessedNode.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-10-28-UnprocessedNode.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-10-28-UnprocessedNode.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64--
define void @__divtc3({ ppc_fp128, ppc_fp128 }* noalias sret %agg.result, ppc_fp128 %a, ppc_fp128 %b, ppc_fp128 %c, ppc_fp128 %d) nounwind {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -o - | not grep fixunstfsi
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -o - | not grep fixunstfsi
define i64 @__fixunstfdi(ppc_fp128 %a) nounwind readnone {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/2009-07-16-InlineAsm-M-Operand.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2009-07-16-InlineAsm-M-Operand.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2009-07-16-InlineAsm-M-Operand.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2009-07-16-InlineAsm-M-Operand.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc32 -verify-machineinstrs
+; RUN: llc < %s -mtriple=ppc32-- -verify-machineinstrs
; Machine code verifier will call isRegTiedToDefOperand() on /all/ register use
; operands. We must make sure that the operand flag is found correctly.
Modified: llvm/trunk/test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin10 -mcpu=g5 -disable-ppc-ilp-pref | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mcpu=g5 -disable-ppc-ilp-pref | FileCheck %s
; ModuleID = '<stdin>'
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
target triple = "powerpc-apple-darwin10.0"
Modified: llvm/trunk/test/CodeGen/PowerPC/2009-09-18-carrybit.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2009-09-18-carrybit.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2009-09-18-carrybit.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2009-09-18-carrybit.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs -march=ppc32 < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s | FileCheck %s
; ModuleID = '<stdin>'
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
target triple = "powerpc-apple-darwin9.6"
Modified: llvm/trunk/test/CodeGen/PowerPC/2010-03-09-indirect-call.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2010-03-09-indirect-call.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2010-03-09-indirect-call.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2010-03-09-indirect-call.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 -mtriple=powerpc-apple-darwin10.0 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mcpu=g5 -mtriple=powerpc-apple-darwin10.0 | FileCheck %s
; ModuleID = 'nn.c'
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
target triple = "powerpc-apple-darwin11.0"
Modified: llvm/trunk/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin -mcpu=g5 | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin -mcpu=g5 -regalloc=basic | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin -mcpu=g5 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin -mcpu=g5 -regalloc=basic | FileCheck %s
declare i8* @llvm.frameaddress(i32) nounwind readnone
Modified: llvm/trunk/test/CodeGen/PowerPC/Atomics-64.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/Atomics-64.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/Atomics-64.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/Atomics-64.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc64 -verify-machineinstrs
+; RUN: llc < %s -verify-machineinstrs
;
; This test is disabled until PPCISelLowering learns to insert proper 64-bit
; code for ATOMIC_CMP_SWAP. Currently, it is inserting 32-bit instructions with
Modified: llvm/trunk/test/CodeGen/PowerPC/DbgValueOtherTargets.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/DbgValueOtherTargets.test?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/DbgValueOtherTargets.test (original)
+++ llvm/trunk/test/CodeGen/PowerPC/DbgValueOtherTargets.test Tue Aug 1 15:20:41 2017
@@ -1 +1 @@
-RUN: llc -O0 -march=ppc32 -asm-verbose < %S/../Inputs/DbgValueOtherTargets.ll | FileCheck %S/../Inputs/DbgValueOtherTargets.ll
+RUN: llc -O0 -mtriple=ppc32-- -asm-verbose < %S/../Inputs/DbgValueOtherTargets.ll | FileCheck %S/../Inputs/DbgValueOtherTargets.ll
Modified: llvm/trunk/test/CodeGen/PowerPC/Frames-alloca.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/Frames-alloca.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/Frames-alloca.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/Frames-alloca.ll Tue Aug 1 15:20:41 2017
@@ -1,10 +1,10 @@
-; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | FileCheck %s -check-prefix=CHECK-PPC32
-; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin8 | FileCheck %s -check-prefix=CHECK-PPC64
-; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | FileCheck %s -check-prefix=CHECK-PPC32-NOFP
-; RUN: llc < %s -march=ppc64 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | FileCheck %s -check-prefix=CHECK-PPC64-NOFP
-; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | FileCheck %s -check-prefix=CHECK-PPC32
-; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | FileCheck %s -check-prefix=CHECK-PPC32-RS
-; RUN: llc < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim | FileCheck %s -check-prefix=CHECK-PPC32-RS-NOFP
+; RUN: llc < %s -mtriple=powerpc-apple-darwin8 | FileCheck %s -check-prefix=CHECK-PPC32
+; RUN: llc < %s -mtriple=powerpc64-apple-darwin8 | FileCheck %s -check-prefix=CHECK-PPC64
+; RUN: llc < %s -mtriple=powerpc-apple-darwin8 -disable-fp-elim | FileCheck %s -check-prefix=CHECK-PPC32-NOFP
+; RUN: llc < %s -mtriple=powerpc64-apple-darwin8 -disable-fp-elim | FileCheck %s -check-prefix=CHECK-PPC64-NOFP
+; RUN: llc < %s -mtriple=powerpc-apple-darwin8 | FileCheck %s -check-prefix=CHECK-PPC32
+; RUN: llc < %s -mtriple=powerpc-apple-darwin8 | FileCheck %s -check-prefix=CHECK-PPC32-RS
+; RUN: llc < %s -mtriple=powerpc-apple-darwin8 -disable-fp-elim | FileCheck %s -check-prefix=CHECK-PPC32-RS-NOFP
; CHECK-PPC32: stw r31, -4(r1)
; CHECK-PPC32: lwz r1, 0(r1)
Modified: llvm/trunk/test/CodeGen/PowerPC/Frames-large.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/Frames-large.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/Frames-large.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/Frames-large.ll Tue Aug 1 15:20:41 2017
@@ -1,11 +1,8 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | FileCheck %s -check-prefix=PPC32-NOFP
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -disable-fp-elim | FileCheck %s -check-prefix=PPC32-FP
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 | FileCheck %s -check-prefix=PPC32-NOFP
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 -disable-fp-elim | FileCheck %s -check-prefix=PPC32-FP
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | FileCheck %s -check-prefix=PPC64-NOFP
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -disable-fp-elim | FileCheck %s -check-prefix=PPC64-FP
-
-
-target triple = "powerpc-apple-darwin8"
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-apple-darwin8 | FileCheck %s -check-prefix=PPC64-NOFP
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-apple-darwin8 -disable-fp-elim | FileCheck %s -check-prefix=PPC64-FP
define i32* @f1() nounwind {
%tmp = alloca i32, i32 8191 ; <i32*> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/Frames-leaf.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/Frames-leaf.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/Frames-leaf.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/Frames-leaf.ll Tue Aug 1 15:20:41 2017
@@ -1,34 +1,34 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: not grep "stw r31, 20(r1)"
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: not grep "stwu r1, -.*(r1)"
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: not grep "addi r1, r1, "
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: not grep "lwz r31, 20(r1)"
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -disable-fp-elim | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -disable-fp-elim | \
; RUN: not grep "stw r31, 20(r1)"
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -disable-fp-elim | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -disable-fp-elim | \
; RUN: not grep "stwu r1, -.*(r1)"
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -disable-fp-elim | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -disable-fp-elim | \
; RUN: not grep "addi r1, r1, "
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -disable-fp-elim | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -disable-fp-elim | \
; RUN: not grep "lwz r31, 20(r1)"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- | \
; RUN: not grep "std r31, 40(r1)"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- | \
; RUN: not grep "stdu r1, -.*(r1)"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- | \
; RUN: not grep "addi r1, r1, "
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- | \
; RUN: not grep "ld r31, 40(r1)"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -disable-fp-elim | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -disable-fp-elim | \
; RUN: not grep "stw r31, 40(r1)"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -disable-fp-elim | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -disable-fp-elim | \
; RUN: not grep "stdu r1, -.*(r1)"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -disable-fp-elim | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -disable-fp-elim | \
; RUN: not grep "addi r1, r1, "
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -disable-fp-elim | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -disable-fp-elim | \
; RUN: not grep "ld r31, 40(r1)"
define i32* @f1() {
Modified: llvm/trunk/test/CodeGen/PowerPC/Frames-small.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/Frames-small.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/Frames-small.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/Frames-small.ll Tue Aug 1 15:20:41 2017
@@ -1,21 +1,21 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -o %t1
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 -o %t1
; RUN: not grep "stw r31, -4(r1)" %t1
; RUN: grep "stwu r1, -16416(r1)" %t1
; RUN: grep "addi r1, r1, 16416" %t1
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: not grep "lwz r31, -4(r1)"
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -disable-fp-elim \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 -disable-fp-elim \
; RUN: -o %t2
; RUN: grep "stw r31, -4(r1)" %t2
; RUN: grep "stwu r1, -16416(r1)" %t2
; RUN: grep "addi r1, r1, 16416" %t2
; RUN: grep "lwz r31, -4(r1)" %t2
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mtriple=powerpc-apple-darwin8 -o %t3
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-apple-darwin8 -o %t3
; RUN: not grep "std r31, -8(r1)" %t3
; RUN: grep "stdu r1, -16432(r1)" %t3
; RUN: grep "addi r1, r1, 16432" %t3
; RUN: not grep "ld r31, -8(r1)" %t3
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mtriple=powerpc-apple-darwin8 -disable-fp-elim \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-apple-darwin8 -disable-fp-elim \
; RUN: -o %t4
; RUN: grep "std r31, -8(r1)" %t4
; RUN: grep "stdu r1, -16448(r1)" %t4
Modified: llvm/trunk/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll Tue Aug 1 15:20:41 2017
@@ -1,8 +1,8 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin | \
; RUN: grep "stw r3, 32751"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mtriple=powerpc-apple-darwin | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-apple-darwin | \
; RUN: grep "stw r3, 32751"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mtriple=powerpc-apple-darwin | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-apple-darwin | \
; RUN: grep "std r3, 9024"
define void @test() nounwind {
Modified: llvm/trunk/test/CodeGen/PowerPC/MergeConsecutiveStores.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/MergeConsecutiveStores.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/MergeConsecutiveStores.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/MergeConsecutiveStores.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs -march=ppc32 -mtriple=powerpc-unknown-linux-gnu -mattr=+altivec < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mtriple=powerpc-unknown-linux-gnu -mattr=+altivec < %s | FileCheck %s
;; This test ensures that MergeConsecutiveStores does not attempt to
;; merge stores or loads when doing so would result in unaligned
Modified: llvm/trunk/test/CodeGen/PowerPC/a2-fp-basic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/a2-fp-basic.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/a2-fp-basic.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/a2-fp-basic.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2 -fp-contract=fast | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mcpu=a2 -fp-contract=fast | FileCheck %s
%0 = type { double, double }
Modified: llvm/trunk/test/CodeGen/PowerPC/a2q-stackalign.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/a2q-stackalign.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/a2q-stackalign.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/a2q-stackalign.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2 | FileCheck -check-prefix=CHECK-A2 %s
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2q | FileCheck -check-prefix=CHECK-A2Q %s
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mtriple=powerpc64-bgq-linux -mcpu=a2 | FileCheck -check-prefix=CHECK-BGQ %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mcpu=a2 | FileCheck -check-prefix=CHECK-A2 %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mcpu=a2q | FileCheck -check-prefix=CHECK-A2Q %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-bgq-linux -mcpu=a2 | FileCheck -check-prefix=CHECK-BGQ %s
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-v128:128:128-n32:64"
target triple = "powerpc64-unknown-linux-gnu"
Modified: llvm/trunk/test/CodeGen/PowerPC/a2q.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/a2q.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/a2q.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/a2q.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2q | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2 -mattr=+qpx | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mcpu=a2q | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mcpu=a2 -mattr=+qpx | FileCheck %s
define void @foo() {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/addi-reassoc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/addi-reassoc.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/addi-reassoc.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/addi-reassoc.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep addi
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep addi
%struct.X = type { [5 x i8] }
Modified: llvm/trunk/test/CodeGen/PowerPC/and-branch.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/and-branch.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/and-branch.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/and-branch.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep mfcr
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep mfcr
define void @foo(i32 %X, i32 %Y, i32 %Z) {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/and-elim.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/and-elim.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/and-elim.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/and-elim.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep rlwin
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep rlwin
define void @test(i8* %P) {
%W = load i8, i8* %P
Modified: llvm/trunk/test/CodeGen/PowerPC/and-imm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/and-imm.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/and-imm.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/and-imm.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep "ori\|lis"
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep "ori\|lis"
; andi. r3, r3, 32769
define i32 @test(i32 %X) {
Modified: llvm/trunk/test/CodeGen/PowerPC/and_add.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/and_add.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/and_add.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/and_add.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -o %t
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -o %t
; RUN: grep slwi %t
; RUN: not grep addi %t
; RUN: not grep rlwinm %t
Modified: llvm/trunk/test/CodeGen/PowerPC/and_sext.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/and_sext.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/and_sext.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/and_sext.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
; These tests should not contain a sign extend.
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep extsh
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep extsb
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep extsh
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep extsb
define i32 @test1(i32 %mode.0.i.0) {
%tmp.79 = trunc i32 %mode.0.i.0 to i16
Modified: llvm/trunk/test/CodeGen/PowerPC/and_sra.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/and_sra.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/and_sra.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/and_sra.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
; Neither of these functions should contain algebraic right shifts
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep srawi
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep srawi
define i32 @test1(i32 %mode.0.i.0) {
%tmp.79 = bitcast i32 %mode.0.i.0 to i32 ; <i32> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/asm-Zy.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/asm-Zy.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/asm-Zy.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/asm-Zy.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
+; RUN: llc -verify-machineinstrs < %s -mcpu=a2 | FileCheck %s
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-v128:128:128-n32:64"
target triple = "powerpc64-bgq-linux"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2 | FileCheck %s
define i32 @zytest(i32 %a) nounwind {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/atomic-1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/atomic-1.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/atomic-1.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/atomic-1.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin -march=ppc32 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin | FileCheck %s
define i32 @exchange_and_add(i32* %mem, i32 %val) nounwind {
; CHECK-LABEL: exchange_and_add:
Modified: llvm/trunk/test/CodeGen/PowerPC/atomic-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/atomic-2.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/atomic-2.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/atomic-2.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
-; RUN: llc < %s -ppc-asm-full-reg-names -march=ppc64 | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-BE
-; RUN: llc < %s -ppc-asm-full-reg-names -march=ppc64le -mtriple=powerpc64le-unknown-linux-gnu | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-LE
-; RUN: llc < %s -ppc-asm-full-reg-names -march=ppc64 -mcpu=pwr7 | FileCheck %s
-; RUN: llc < %s -ppc-asm-full-reg-names -march=ppc64 -mcpu=pwr8 | FileCheck %s -check-prefix=CHECK-P8U
+; RUN: llc < %s -ppc-asm-full-reg-names -mtriple=ppc64-- | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-BE
+; RUN: llc < %s -ppc-asm-full-reg-names -mtriple=powerpc64le-unknown-linux-gnu | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-LE
+; RUN: llc < %s -ppc-asm-full-reg-names -mtriple=ppc64-- -mcpu=pwr7 | FileCheck %s
+; RUN: llc < %s -ppc-asm-full-reg-names -mtriple=ppc64-- -mcpu=pwr8 | FileCheck %s -check-prefix=CHECK-P8U
define i64 @exchange_and_add(i64* %mem, i64 %val) nounwind {
; CHECK-LABEL: exchange_and_add:
Modified: llvm/trunk/test/CodeGen/PowerPC/atomics-fences.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/atomics-fences.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/atomics-fences.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/atomics-fences.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc < %s -mtriple=powerpc-apple-darwin -march=ppc32 -verify-machineinstrs | FileCheck %s
-; RUN: llc < %s -mtriple=powerpc-apple-darwin -march=ppc64 -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mtriple=powerpc-apple-darwin -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mtriple=powerpc64-apple-darwin -verify-machineinstrs | FileCheck %s
; RUN: llc < %s -mtriple=powerpc-apple-darwin -mcpu=440 | FileCheck %s --check-prefix=PPC440
; Fences
Modified: llvm/trunk/test/CodeGen/PowerPC/atomics-indexed.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/atomics-indexed.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/atomics-indexed.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/atomics-indexed.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
-; RUN: llc < %s -mtriple=powerpc-apple-darwin -march=ppc32 -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=PPC32
+; RUN: llc < %s -mtriple=powerpc-apple-darwin -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=PPC32
; FIXME: -verify-machineinstrs currently fail on ppc64 (mismatched register/instruction).
; This is already checked for in Atomics-64.ll
-; RUN: llc < %s -mtriple=powerpc-apple-darwin -march=ppc64 | FileCheck %s --check-prefix=CHECK --check-prefix=PPC64
+; RUN: llc < %s -mtriple=powerpc64-apple-darwin | FileCheck %s --check-prefix=CHECK --check-prefix=PPC64
; In this file, we check that atomic load/store can make use of the indexed
; versions of the instructions.
Modified: llvm/trunk/test/CodeGen/PowerPC/atomics.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/atomics.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/atomics.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/atomics.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
-; RUN: llc < %s -mtriple=powerpc-apple-darwin -march=ppc32 -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=PPC32
+; RUN: llc < %s -mtriple=powerpc-apple-darwin -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=PPC32
; FIXME: -verify-machineinstrs currently fail on ppc64 (mismatched register/instruction).
; This is already checked for in Atomics-64.ll
-; RUN: llc < %s -mtriple=powerpc-apple-darwin -march=ppc64 | FileCheck %s --check-prefix=CHECK --check-prefix=PPC64
+; RUN: llc < %s -mtriple=powerpc64-apple-darwin | FileCheck %s --check-prefix=CHECK --check-prefix=PPC64
; FIXME: we don't currently check for the operations themselves with CHECK-NEXT,
; because they are implemented in a very messy way with lwarx/stwcx.
Modified: llvm/trunk/test/CodeGen/PowerPC/big-endian-actual-args.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/big-endian-actual-args.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/big-endian-actual-args.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/big-endian-actual-args.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | \
; RUN: grep "addc 4, 4, 6"
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | \
; RUN: grep "adde 3, 3, 5"
define i64 @foo(i64 %x, i64 %y) {
Modified: llvm/trunk/test/CodeGen/PowerPC/big-endian-call-result.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/big-endian-call-result.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/big-endian-call-result.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/big-endian-call-result.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | \
; RUN: grep "addic 4, 4, 1"
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | \
; RUN: grep "addze 3, 3"
declare i64 @foo()
Modified: llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/big-endian-formal-args.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
declare void @bar(i64 %x, i64 %y)
Modified: llvm/trunk/test/CodeGen/PowerPC/blockaddress.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/blockaddress.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/blockaddress.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/blockaddress.ll Tue Aug 1 15:20:41 2017
@@ -1,9 +1,9 @@
-; RUN: llc -verify-machineinstrs < %s -code-model=small -march=ppc64 -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s -check-prefix=SMALL
-; RUN: llc -verify-machineinstrs < %s -code-model=medium -march=ppc64 -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s -check-prefix=MEDIUM
-; RUN: llc -verify-machineinstrs < %s -code-model=large -march=ppc64 -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s -check-prefix=MEDIUM
-; RUN: llc -verify-machineinstrs < %s -code-model=small -march=ppc64 -mtriple=powerpc64le-unknown-linux-gnu | FileCheck %s -check-prefix=SMALL
-; RUN: llc -verify-machineinstrs < %s -code-model=medium -march=ppc64 -mtriple=powerpc64le-unknown-linux-gnu | FileCheck %s -check-prefix=MEDIUM
-; RUN: llc -verify-machineinstrs < %s -code-model=large -march=ppc64 -mtriple=powerpc64le-unknown-linux-gnu | FileCheck %s -check-prefix=MEDIUM
+; RUN: llc -verify-machineinstrs < %s -code-model=small -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s -check-prefix=SMALL
+; RUN: llc -verify-machineinstrs < %s -code-model=medium -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s -check-prefix=MEDIUM
+; RUN: llc -verify-machineinstrs < %s -code-model=large -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s -check-prefix=MEDIUM
+; RUN: llc -verify-machineinstrs < %s -code-model=small -mtriple=powerpc64le-unknown-linux-gnu | FileCheck %s -check-prefix=SMALL
+; RUN: llc -verify-machineinstrs < %s -code-model=medium -mtriple=powerpc64le-unknown-linux-gnu | FileCheck %s -check-prefix=MEDIUM
+; RUN: llc -verify-machineinstrs < %s -code-model=large -mtriple=powerpc64le-unknown-linux-gnu | FileCheck %s -check-prefix=MEDIUM
define i8* @test() {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/branch-opt.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/branch-opt.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/branch-opt.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/branch-opt.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s | FileCheck %s
target datalayout = "E-p:32:32"
target triple = "powerpc-apple-darwin8.7.0"
Modified: llvm/trunk/test/CodeGen/PowerPC/bswap-load-store.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/bswap-load-store.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/bswap-load-store.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/bswap-load-store.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=ppc32 | FileCheck %s -check-prefix=X32
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=ppc64 | FileCheck %s -check-prefix=X64
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=pwr7 | FileCheck %s -check-prefix=PWR7
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=pwr7 | FileCheck %s -check-prefix=X32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=ppc32 | FileCheck %s -check-prefix=X32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mcpu=ppc64 | FileCheck %s -check-prefix=X64
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mcpu=pwr7 | FileCheck %s -check-prefix=PWR7
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=pwr7 | FileCheck %s -check-prefix=X32
define void @STWBRX(i32 %i, i8* %ptr, i32 %off) {
Modified: llvm/trunk/test/CodeGen/PowerPC/buildvec_canonicalize.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/buildvec_canonicalize.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/buildvec_canonicalize.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/buildvec_canonicalize.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mattr=+altivec --enable-unsafe-fp-math | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- -mattr=+altivec --enable-unsafe-fp-math | FileCheck %s
define void @VXOR(<4 x float>* %P1, <4 x i32>* %P2, <4 x float>* %P3) {
%tmp = load <4 x float>, <4 x float>* %P3 ; <<4 x float>> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/calls.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/calls.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/calls.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/calls.ll Tue Aug 1 15:20:41 2017
@@ -1,10 +1,10 @@
; Test various forms of calls.
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: grep "bl " | count 1
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: grep "bctrl" | count 1
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: grep "bla " | count 1
declare void @foo()
Modified: llvm/trunk/test/CodeGen/PowerPC/cmp-cmp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/cmp-cmp.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/cmp-cmp.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/cmp-cmp.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep mfcr
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep mfcr
define void @test(i64 %X) {
%tmp1 = and i64 %X, 3 ; <i64> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/coal-sections.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/coal-sections.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/coal-sections.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/coal-sections.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -mtriple powerpc-apple-darwin8 -march=ppc32 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple powerpc-apple-darwin8 | FileCheck %s
; Check that *coal* sections are emitted.
Modified: llvm/trunk/test/CodeGen/PowerPC/coalesce-ext.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/coalesce-ext.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/coalesce-ext.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/coalesce-ext.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs -march=ppc64 -mcpu=g5 -mtriple=powerpc64-apple-darwin < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mcpu=g5 -mtriple=powerpc64-apple-darwin < %s | FileCheck %s
; Check that the peephole optimizer knows about sext and zext instructions.
; CHECK: test1sext
define i32 @test1sext(i64 %A, i64 %B, i32* %P, i64 *%P2) nounwind {
Modified: llvm/trunk/test/CodeGen/PowerPC/compare-simm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/compare-simm.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/compare-simm.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/compare-simm.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 | FileCheck %s
define i32 @test(i32 %x) nounwind {
; CHECK-LABEL: @test
Modified: llvm/trunk/test/CodeGen/PowerPC/constants.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/constants.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/constants.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/constants.ll Tue Aug 1 15:20:41 2017
@@ -1,9 +1,9 @@
; All of these routines should be perform optimal load of constants.
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: grep lis | count 5
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: grep ori | count 3
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: grep "li " | count 4
define i32 @f1() {
Modified: llvm/trunk/test/CodeGen/PowerPC/cr_spilling.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/cr_spilling.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/cr_spilling.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/cr_spilling.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc32 -regalloc=fast -O0 -relocation-model=pic -o -
+; RUN: llc < %s -mtriple=ppc32-- -regalloc=fast -O0 -relocation-model=pic -o -
; PR1638
@.str242 = external constant [3 x i8] ; <[3 x i8]*> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/ctrloop-asm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ctrloop-asm.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ctrloop-asm.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ctrloop-asm.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
+; RUN: llc -verify-machineinstrs < %s | FileCheck %s
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
target triple = "powerpc64-unknown-freebsd10.0"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | FileCheck %s
define void @test1(i32 %c) nounwind {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/ctrloop-le.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ctrloop-le.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ctrloop-le.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ctrloop-le.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
+; RUN: llc -verify-machineinstrs < %s | FileCheck %s
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
target triple = "powerpc64-unknown-linux-gnu"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | FileCheck %s
; XFAIL: *
; SE needs improvement
Modified: llvm/trunk/test/CodeGen/PowerPC/ctrloop-lt.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ctrloop-lt.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ctrloop-lt.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ctrloop-lt.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
+; RUN: llc -verify-machineinstrs < %s | FileCheck %s
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
target triple = "powerpc64-unknown-linux-gnu"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | FileCheck %s
; XFAIL: *
; SE needs improvement
Modified: llvm/trunk/test/CodeGen/PowerPC/ctrloop-ne.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ctrloop-ne.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ctrloop-ne.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ctrloop-ne.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
+; RUN: llc -verify-machineinstrs < %s | FileCheck %s
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
target triple = "powerpc64-unknown-linux-gnu"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | FileCheck %s
; CHECK: test_pos1_ir_ne
; CHECK: bdnz
Modified: llvm/trunk/test/CodeGen/PowerPC/ctrloop-reg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ctrloop-reg.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ctrloop-reg.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ctrloop-reg.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
+; RUN: llc -verify-machineinstrs < %s | FileCheck %s
; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
target triple = "powerpc64-unknown-linux-gnu"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | FileCheck %s
%struct.ref_s.1.49.91.115.121.139.145.151.157.163.169.175.181.211 = type { %union.v.0.48.90.114.120.138.144.150.156.162.168.174.180.210, i16, i16 }
%union.v.0.48.90.114.120.138.144.150.156.162.168.174.180.210 = type { i64 }
Modified: llvm/trunk/test/CodeGen/PowerPC/ctrloop-s000.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ctrloop-s000.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ctrloop-s000.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ctrloop-s000.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
+; RUN: llc -verify-machineinstrs < %s | FileCheck %s
; ModuleID = 'tsc_s000.c'
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
target triple = "powerpc64-unknown-linux-gnu"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | FileCheck %s
@Y = common global [16000 x double] zeroinitializer, align 32
@X = common global [16000 x double] zeroinitializer, align 32
Modified: llvm/trunk/test/CodeGen/PowerPC/ctrloop-sums.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ctrloop-sums.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ctrloop-sums.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ctrloop-sums.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
+; RUN: llc -verify-machineinstrs < %s | FileCheck %s
; ModuleID = 'SingleSource/Regression/C/sumarray2d.c'
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
target triple = "powerpc64-unknown-linux-gnu"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | FileCheck %s
@.str = private unnamed_addr constant [23 x i8] c"Sum(Array[%d,%d] = %d\0A\00", align 1
Modified: llvm/trunk/test/CodeGen/PowerPC/ctrloop-udivti3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ctrloop-udivti3.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ctrloop-udivti3.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ctrloop-udivti3.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc64 | FileCheck %s
+; RUN: llc < %s | FileCheck %s
target datalayout = "E-m:e-i64:64-n32:64"
target triple = "powerpc64-unknown-linux-gnu"
Modified: llvm/trunk/test/CodeGen/PowerPC/ctrloops.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ctrloops.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ctrloops.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ctrloops.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
+; RUN: llc -verify-machineinstrs < %s -relocation-model=pic | FileCheck %s
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
target triple = "powerpc64-unknown-freebsd10.0"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -relocation-model=pic | FileCheck %s
@a = common global i32 0, align 4
Modified: llvm/trunk/test/CodeGen/PowerPC/cttz.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/cttz.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/cttz.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/cttz.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
; Make sure this testcase does not use ctpop
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | FileCheck %s
declare i32 @llvm.cttz.i32(i32, i1)
Modified: llvm/trunk/test/CodeGen/PowerPC/dbg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/dbg.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/dbg.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/dbg.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -break-anti-dependencies=all -march=ppc64 -mcpu=g5 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -break-anti-dependencies=all -mcpu=g5 | FileCheck %s
; CHECK-LABEL: main:
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
Modified: llvm/trunk/test/CodeGen/PowerPC/delete-node.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/delete-node.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/delete-node.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/delete-node.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
; The DAGCombiner leaves behind a dead node in this testcase. Currently
; ISel is ignoring dead nodes, though it would be preferable for
Modified: llvm/trunk/test/CodeGen/PowerPC/div-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/div-2.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/div-2.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/div-2.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep srawi
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep blr
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep srawi
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep blr
define i32 @test1(i32 %X) {
%Y = and i32 %X, 15 ; <i32> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/eqv-andc-orc-nor.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/eqv-andc-orc-nor.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/eqv-andc-orc-nor.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/eqv-andc-orc-nor.ll Tue Aug 1 15:20:41 2017
@@ -1,12 +1,12 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: grep eqv | count 3
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | \
; RUN: grep andc | count 3
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: grep orc | count 2
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | \
; RUN: grep nor | count 3
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: grep nand | count 1
define i32 @EQV1(i32 %X, i32 %Y) nounwind {
Modified: llvm/trunk/test/CodeGen/PowerPC/extsh.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/extsh.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/extsh.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/extsh.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
; This should turn into a single extsh
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep extsh | count 1
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep extsh | count 1
define i32 @test(i32 %X) {
%tmp.81 = shl i32 %X, 16 ; <i32> [#uses=1]
%tmp.82 = ashr i32 %tmp.81, 16 ; <i32> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/fabs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fabs.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fabs.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fabs.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mtriple=powerpc-apple-darwin | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=powerpc-apple-darwin | FileCheck %s
define double @fabs(double %f) {
; CHECK-LABEL: fabs:
Modified: llvm/trunk/test/CodeGen/PowerPC/fma-assoc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fma-assoc.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fma-assoc.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fma-assoc.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -fp-contract=fast -mattr=-vsx -disable-ppc-vsx-fma-mutation=false | FileCheck -check-prefix=CHECK -check-prefix=CHECK-SAFE %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -fp-contract=fast -mattr=-vsx -disable-ppc-vsx-fma-mutation=false | FileCheck -check-prefix=CHECK -check-prefix=CHECK-SAFE %s
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -fp-contract=fast -mattr=+vsx -mcpu=pwr7 -disable-ppc-vsx-fma-mutation=false | FileCheck -check-prefix=CHECK-VSX -check-prefix=CHECK-VSX-SAFE %s
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -fp-contract=fast -enable-unsafe-fp-math -mattr=-vsx -disable-ppc-vsx-fma-mutation=false | FileCheck -check-prefix=CHECK -check-prefix=CHECK-UNSAFE %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -fp-contract=fast -enable-unsafe-fp-math -mattr=-vsx -disable-ppc-vsx-fma-mutation=false | FileCheck -check-prefix=CHECK -check-prefix=CHECK-UNSAFE %s
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -fp-contract=fast -enable-unsafe-fp-math -mattr=+vsx -mcpu=pwr7 -disable-ppc-vsx-fma-mutation=false | FileCheck -check-prefix=CHECK-VSX -check-prefix=CHECK-UNSAFE-VSX %s
define double @test_FMADD_ASSOC1(double %A, double %B, double %C,
Modified: llvm/trunk/test/CodeGen/PowerPC/fma-ext.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fma-ext.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fma-ext.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fma-ext.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -fp-contract=fast -mattr=-vsx -disable-ppc-vsx-fma-mutation=false | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -fp-contract=fast -mattr=-vsx -disable-ppc-vsx-fma-mutation=false | FileCheck %s
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -fp-contract=fast -mattr=+vsx -mcpu=pwr7 -disable-ppc-vsx-fma-mutation=false | FileCheck -check-prefix=CHECK-VSX %s
define double @test_FMADD_EXT1(float %A, float %B, double %C) {
Modified: llvm/trunk/test/CodeGen/PowerPC/fma.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fma.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fma.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fma.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -fp-contract=fast -mattr=-vsx -disable-ppc-vsx-fma-mutation=false | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -fp-contract=fast -mattr=-vsx -disable-ppc-vsx-fma-mutation=false | FileCheck %s
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -fp-contract=fast -mattr=+vsx -mcpu=pwr7 -disable-ppc-vsx-fma-mutation=false | FileCheck -check-prefix=CHECK-VSX %s
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -fp-contract=fast -mcpu=pwr8 -disable-ppc-vsx-fma-mutation=false | FileCheck -check-prefix=CHECK-P8 %s
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu -fp-contract=fast -mcpu=pwr8 -disable-ppc-vsx-fma-mutation=false | FileCheck -check-prefix=CHECK-P8 %s
Modified: llvm/trunk/test/CodeGen/PowerPC/fmaxnum.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fmaxnum.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fmaxnum.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fmaxnum.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs -march=ppc32 -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s
declare float @fmaxf(float, float)
declare double @fmax(double, double)
Modified: llvm/trunk/test/CodeGen/PowerPC/fminnum.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fminnum.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fminnum.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fminnum.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs -march=ppc32 -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s
declare float @fminf(float, float)
declare double @fmin(double, double)
Modified: llvm/trunk/test/CodeGen/PowerPC/fnabs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fnabs.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fnabs.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fnabs.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 | grep fnabs
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- | grep fnabs
declare double @fabs(double)
Modified: llvm/trunk/test/CodeGen/PowerPC/fneg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fneg.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fneg.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fneg.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep fneg
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep fneg
define double @test1(double %a, double %b, double %c, double %d) {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/fold-li.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fold-li.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fold-li.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fold-li.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: grep -v align | not grep li
;; Test that immediates are folded into these instructions correctly.
Modified: llvm/trunk/test/CodeGen/PowerPC/fp-branch.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fp-branch.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fp-branch.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fp-branch.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 | grep fcmp | count 1
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- | grep fcmp | count 1
declare i1 @llvm.isunordered.f64(double, double)
Modified: llvm/trunk/test/CodeGen/PowerPC/fp-int-fp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fp-int-fp.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fp-int-fp.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fp-int-fp.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | not grep r1
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | not grep r1
define double @test1(double %X) {
%Y = fptosi double %X to i64 ; <i64> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/fp_to_uint.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fp_to_uint.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fp_to_uint.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fp_to_uint.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 | grep fctiwz | count 1
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- | grep fctiwz | count 1
define i16 @foo(float %a) {
Modified: llvm/trunk/test/CodeGen/PowerPC/fpcopy.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fpcopy.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fpcopy.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fpcopy.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep fmr
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep fmr
define double @test(float %F) {
%F.upgrd.1 = fpext float %F to double ; <double> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/frounds.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/frounds.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/frounds.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/frounds.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
define i32 @foo() {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/fsqrt.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/fsqrt.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/fsqrt.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/fsqrt.ll Tue Aug 1 15:20:41 2017
@@ -1,13 +1,13 @@
; fsqrt should be generated when the fsqrt feature is enabled, but not
; otherwise.
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=+fsqrt | \
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=powerpc-apple-darwin8 -mattr=+fsqrt | \
; RUN: grep "fsqrt f1, f1"
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=powerpc-apple-darwin8 -mcpu=g5 | \
; RUN: grep "fsqrt f1, f1"
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=-fsqrt | \
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=powerpc-apple-darwin8 -mattr=-fsqrt | \
; RUN: not grep "fsqrt f1, f1"
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mtriple=powerpc-apple-darwin8 -mcpu=g4 | \
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=powerpc-apple-darwin8 -mcpu=g4 | \
; RUN: not grep "fsqrt f1, f1"
declare double @llvm.sqrt.f64(double)
Modified: llvm/trunk/test/CodeGen/PowerPC/hello.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/hello.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/hello.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/hello.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64--
; PR1399
@.str = internal constant [13 x i8] c"Hello World!\00"
Modified: llvm/trunk/test/CodeGen/PowerPC/i1-to-double.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/i1-to-double.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/i1-to-double.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/i1-to-double.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs -march=ppc32 -mcpu=ppc32 -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mcpu=ppc32 -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s
define double @test(i1 %X) {
%Y = uitofp i1 %X to double
ret double %Y
Modified: llvm/trunk/test/CodeGen/PowerPC/i128-and-beyond.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/i128-and-beyond.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/i128-and-beyond.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/i128-and-beyond.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep 4294967295 | count 28
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep 4294967295 | count 28
; These static initializers are too big to hand off to assemblers
; as monolithic blobs.
Modified: llvm/trunk/test/CodeGen/PowerPC/i64_fp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/i64_fp.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/i64_fp.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/i64_fp.ll Tue Aug 1 15:20:41 2017
@@ -1,21 +1,21 @@
; fcfid and fctid should be generated when the 64bit feature is enabled, but not
; otherwise.
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mattr=+64bit | \
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- -mattr=+64bit | \
; RUN: grep fcfid
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mattr=+64bit | \
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- -mattr=+64bit | \
; RUN: grep fctidz
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mcpu=g5 | \
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- -mcpu=g5 | \
; RUN: grep fcfid
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mcpu=g5 | \
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- -mcpu=g5 | \
; RUN: grep fctidz
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mattr=-64bit | \
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- -mattr=-64bit | \
; RUN: not grep fcfid
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mattr=-64bit | \
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- -mattr=-64bit | \
; RUN: not grep fctidz
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mcpu=g4 | \
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- -mcpu=g4 | \
; RUN: not grep fcfid
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -mcpu=g4 | \
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- -mcpu=g4 | \
; RUN: not grep fctidz
define double @X(double %Y) {
Modified: llvm/trunk/test/CodeGen/PowerPC/iabs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/iabs.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/iabs.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/iabs.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
; REQUIRES: asserts
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -stats 2>&1 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -stats 2>&1 | \
; RUN: grep "4 .*Number of machine instrs printed"
;; Integer absolute value, should produce something as good as:
Modified: llvm/trunk/test/CodeGen/PowerPC/illegal-element-type.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/illegal-element-type.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/illegal-element-type.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/illegal-element-type.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g3
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g3
define void @foo() {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/indirectbr.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
-; RUN: llc < %s -relocation-model=pic -march=ppc32 -mtriple=powerpc-apple-darwin | FileCheck %s -check-prefix=PIC
-; RUN: llc < %s -relocation-model=static -march=ppc32 -mtriple=powerpc-apple-darwin | FileCheck %s -check-prefix=STATIC
-; RUN: llc < %s -relocation-model=pic -march=ppc64 -mtriple=powerpc64-apple-darwin | FileCheck %s -check-prefix=PPC64
+; RUN: llc < %s -relocation-model=pic -mtriple=powerpc-apple-darwin | FileCheck %s -check-prefix=PIC
+; RUN: llc < %s -relocation-model=static -mtriple=powerpc-apple-darwin | FileCheck %s -check-prefix=STATIC
+; RUN: llc < %s -relocation-model=pic -mtriple=powerpc64-apple-darwin | FileCheck %s -check-prefix=PPC64
@nextaddr = global i8* null ; <i8**> [#uses=2]
@C.0.2070 = private constant [5 x i8*] [i8* blockaddress(@foo, %L1), i8* blockaddress(@foo, %L2), i8* blockaddress(@foo, %L3), i8* blockaddress(@foo, %L4), i8* blockaddress(@foo, %L5)] ; <[5 x i8*]*> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/inlineasm-copy.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/inlineasm-copy.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/inlineasm-copy.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/inlineasm-copy.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=ppc32 -no-integrated-as -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mtriple=ppc32-- -no-integrated-as -verify-machineinstrs | FileCheck %s
; CHECK-NOT: mr
define i32 @test(i32 %Y, i32 %X) {
Modified: llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-0.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-0.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-0.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-0.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 > %t
+; RUN: llc -verify-machineinstrs < %s > %t
; RUN: grep __floattitf %t
; RUN: grep __fixunstfti %t
Modified: llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-1.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-1.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/int-fp-conv-1.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- | FileCheck %s
; CHECK-NOT: __floatditf
define i64 @__fixunstfdi(ppc_fp128 %a) nounwind {
Modified: llvm/trunk/test/CodeGen/PowerPC/inverted-bool-compares.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/inverted-bool-compares.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/inverted-bool-compares.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/inverted-bool-compares.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep xori
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep xori
define i32 @test(i1 %B, i32* %P) {
br i1 %B, label %T, label %F
Modified: llvm/trunk/test/CodeGen/PowerPC/ispositive.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ispositive.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ispositive.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ispositive.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 | \
; RUN: grep "srwi r3, r3, 31"
define i32 @test1(i32 %X) {
Modified: llvm/trunk/test/CodeGen/PowerPC/itofp128.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/itofp128.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/itofp128.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/itofp128.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
+; RUN: llc -verify-machineinstrs < %s
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f128:64:128"
target triple = "powerpc64-apple-darwin9.2.0"
Modified: llvm/trunk/test/CodeGen/PowerPC/lha.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/lha.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/lha.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/lha.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep lha
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep lha
define i32 @test(i16* %a) {
%tmp.1 = load i16, i16* %a ; <i16> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/load-constant-addr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/load-constant-addr.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/load-constant-addr.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/load-constant-addr.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
; Should fold the ori into the lfs.
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep lfs
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep ori
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep lfs
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep ori
define float @test() {
%tmp.i = load float, float* inttoptr (i32 186018016 to float*) ; <float> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/long-compare.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/long-compare.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/long-compare.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/long-compare.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep cntlzw
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep xori
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep "li "
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep "mr "
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep cntlzw
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep xori
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep "li "
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep "mr "
define i1 @test(i64 %x) {
%tmp = icmp ult i64 %x, 4294967296
Modified: llvm/trunk/test/CodeGen/PowerPC/mature-mc-support.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/mature-mc-support.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/mature-mc-support.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/mature-mc-support.ll Tue Aug 1 15:20:41 2017
@@ -4,26 +4,26 @@
; so we only test that -filetype=obj tries to parse the assembly.
; FIXME: PowerPC doesn't appear to support -filetype=obj for ppc64le
-; SKIP: not llc -march=ppc32 < %s > /dev/null 2> %t1
+; SKIP: not llc -mtriple=ppc32-- < %s > /dev/null 2> %t1
; SKIP: FileCheck %s < %t1
-; RUN: not llc -march=ppc32 -filetype=obj < %s > /dev/null 2> %t2
+; RUN: not llc -mtriple=ppc32-- -filetype=obj < %s > /dev/null 2> %t2
; RUN: FileCheck %s < %t2
; Test that we don't try to produce COFF for ppc.
; RUN: not llc -mtriple=powerpc-mingw32 -filetype=obj < %s > /dev/null 2> %t2
; RUN: FileCheck %s < %t2
-; SKIP: not llc -march=ppc64 < %s > /dev/null 2> %t3
+; SKIP: not llc -mtriple=ppc64-- < %s > /dev/null 2> %t3
; SKIP: FileCheck %s < %t3
-; RUN: not llc -march=ppc64 -filetype=obj < %s > /dev/null 2> %t4
+; RUN: not llc -mtriple=ppc64-- -filetype=obj < %s > /dev/null 2> %t4
; RUN: FileCheck %s < %t4
-; SKIP: not llc -march=ppc64le < %s > /dev/null 2> %t5
+; SKIP: not llc -mtriple=ppc64--le < %s > /dev/null 2> %t5
; SKIP: FileCheck %s < %t5
-; SKIP: not llc -march=ppc64le -filetype=obj < %s > /dev/null 2> %t6
+; SKIP: not llc -mtriple=ppc64--le -filetype=obj < %s > /dev/null 2> %t6
; SKIP: FileCheck %s < %t6
module asm " .this_directive_is_very_unlikely_to_exist"
Modified: llvm/trunk/test/CodeGen/PowerPC/mem-rr-addr-mode.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/mem-rr-addr-mode.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/mem-rr-addr-mode.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/mem-rr-addr-mode.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | grep li.*16
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | not grep addi
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | grep li.*16
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | not grep addi
; Codegen lvx (R+16) as t = li 16, lvx t,R
; This shares the 16 between the two loads.
Modified: llvm/trunk/test/CodeGen/PowerPC/mem_update.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/mem_update.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/mem_update.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/mem_update.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | \
; RUN: not grep addi
-; RUN: llc -verify-machineinstrs -code-model=small < %s -march=ppc64 | \
+; RUN: llc -verify-machineinstrs -code-model=small < %s -mtriple=ppc64-- | \
; RUN: not grep addi
@Glob = global i64 4
Modified: llvm/trunk/test/CodeGen/PowerPC/mul-neg-power-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/mul-neg-power-2.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/mul-neg-power-2.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/mul-neg-power-2.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep mul
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep mul
define i32 @test1(i32 %a) {
%tmp.1 = mul i32 %a, -2 ; <i32> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/mul-with-overflow.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/mul-with-overflow.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/mul-with-overflow.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/mul-with-overflow.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
declare {i32, i1} @llvm.umul.with.overflow.i32(i32 %a, i32 %b)
define zeroext i1 @a(i32 %x) nounwind {
Modified: llvm/trunk/test/CodeGen/PowerPC/mulhs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/mulhs.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/mulhs.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/mulhs.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
; All of these ands and shifts should be folded into rlwimi's
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -o %t
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -o %t
; RUN: not grep mulhwu %t
; RUN: not grep srawi %t
; RUN: not grep add %t
Modified: llvm/trunk/test/CodeGen/PowerPC/mult-alt-generic-powerpc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/mult-alt-generic-powerpc.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/mult-alt-generic-powerpc.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/mult-alt-generic-powerpc.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -no-integrated-as
+; RUN: llc -verify-machineinstrs < %s -no-integrated-as
; ModuleID = 'mult-alt-generic.c'
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32"
-target triple = "powerpc"
+target triple = "powerpc--"
@mout0 = common global i32 0, align 4
@min1 = common global i32 0, align 4
Modified: llvm/trunk/test/CodeGen/PowerPC/mult-alt-generic-powerpc64.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/mult-alt-generic-powerpc64.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/mult-alt-generic-powerpc64.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/mult-alt-generic-powerpc64.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -no-integrated-as
+; RUN: llc -verify-machineinstrs < %s -no-integrated-as
; ModuleID = 'mult-alt-generic.c'
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
-target triple = "powerpc64"
+target triple = "powerpc64--"
@mout0 = common global i32 0, align 4
@min1 = common global i32 0, align 4
Modified: llvm/trunk/test/CodeGen/PowerPC/neg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/neg.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/neg.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/neg.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep neg
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep neg
define i32 @test(i32 %X) {
%Y = sub i32 0, %X ; <i32> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/popcnt.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/popcnt.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/popcnt.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/popcnt.ll Tue Aug 1 15:20:41 2017
@@ -1,8 +1,8 @@
-; RUN: llc -verify-machineinstrs -march=ppc64 -mattr=+popcntd < %s | FileCheck %s
-; RUN: llc -verify-machineinstrs -march=ppc64 -mattr=+slow-popcntd < %s | FileCheck %s --check-prefix=SLOWPC
-; RUN: llc -verify-machineinstrs -march=ppc64 -mcpu=pwr7 < %s | FileCheck %s
-; RUN: llc -verify-machineinstrs -march=ppc64 -mcpu=a2q < %s | FileCheck %s --check-prefix=SLOWPC
-; RUN: llc -verify-machineinstrs -march=ppc64 -mcpu=a2q -mattr=+popcntd < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mtriple=ppc64-- -mattr=+popcntd < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mtriple=ppc64-- -mattr=+slow-popcntd < %s | FileCheck %s --check-prefix=SLOWPC
+; RUN: llc -verify-machineinstrs -mtriple=ppc64-- -mcpu=pwr7 < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mtriple=ppc64-- -mcpu=a2q < %s | FileCheck %s --check-prefix=SLOWPC
+; RUN: llc -verify-machineinstrs -mtriple=ppc64-- -mcpu=a2q -mattr=+popcntd < %s | FileCheck %s
define i8 @cnt8(i8 %x) nounwind readnone {
%cnt = tail call i8 @llvm.ctpop.i8(i8 %x)
Modified: llvm/trunk/test/CodeGen/PowerPC/ppc-vaarg-agg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc-vaarg-agg.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc-vaarg-agg.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc-vaarg-agg.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
+; RUN: llc < %s | FileCheck %s
target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32"
target triple = "powerpc-montavista-linux-gnuspe"
-; RUN: llc < %s -march=ppc32 | FileCheck %s
%struct.__va_list_tag.0.9.18.23.32.41.48.55.62.67.72.77.82.87.90.93.96.101.105 = type { i8, i8, i16, i8*, i8* }
Modified: llvm/trunk/test/CodeGen/PowerPC/ppc32-i1-vaarg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc32-i1-vaarg.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc32-i1-vaarg.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc32-i1-vaarg.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=ppc32 | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=ppc32 -mtriple=powerpc-darwin9 | FileCheck %s -check-prefix=CHECK-D
+; RUN: llc -verify-machineinstrs < %s -mcpu=ppc32 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mcpu=ppc32 -mtriple=powerpc-darwin9 | FileCheck %s -check-prefix=CHECK-D
target triple = "powerpc-unknown-linux-gnu"
declare void @printf(i8*, ...)
Modified: llvm/trunk/test/CodeGen/PowerPC/ppc440-fp-basic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc440-fp-basic.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc440-fp-basic.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc440-fp-basic.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=440 -fp-contract=fast | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=440 -fp-contract=fast | FileCheck %s
%0 = type { double, double }
Modified: llvm/trunk/test/CodeGen/PowerPC/ppc440-msync.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc440-msync.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc440-msync.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc440-msync.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2 | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=440 | FileCheck %s -check-prefix=BE-CHK
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mcpu=a2 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=440 | FileCheck %s -check-prefix=BE-CHK
define i32 @has_a_fence(i32 %a, i32 %b) nounwind {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/ppc64-altivec-abi.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc64-altivec-abi.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc64-altivec-abi.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc64-altivec-abi.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mattr=+altivec | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mattr=+altivec | FileCheck %s
target datalayout = "E-m:e-i64:64-n32:64"
target triple = "powerpc64-unknown-linux-gnu"
Modified: llvm/trunk/test/CodeGen/PowerPC/ppc64-byval-align.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc64-byval-align.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc64-byval-align.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc64-byval-align.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs -O1 < %s -march=ppc64 -mcpu=pwr7 | FileCheck %s
+; RUN: llc -verify-machineinstrs -O1 < %s -mcpu=pwr7 | FileCheck %s
target datalayout = "E-m:e-i64:64-n32:64"
target triple = "powerpc64-unknown-linux-gnu"
Modified: llvm/trunk/test/CodeGen/PowerPC/ppc64-calls.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc64-calls.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc64-calls.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc64-calls.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -relocation-model=static -verify-machineinstrs < %s -march=ppc64 -mcpu=pwr7 | FileCheck %s
+; RUN: llc -relocation-model=static -verify-machineinstrs < %s -mcpu=pwr7 | FileCheck %s
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64"
target triple = "powerpc64-unknown-linux-gnu"
Modified: llvm/trunk/test/CodeGen/PowerPC/ppc64-get-cache-line-size.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc64-get-cache-line-size.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc64-get-cache-line-size.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc64-get-cache-line-size.ll Tue Aug 1 15:20:41 2017
@@ -4,7 +4,7 @@
; RUN: llc < %s -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 -enable-ppc-prefetching=true -ppc-loop-prefetch-cache-line=64 | FileCheck %s -check-prefix=CHECK-DCBT
; RUN: llc < %s -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr9 -enable-ppc-prefetching=true | FileCheck %s
; RUN: llc < %s -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr9 -enable-ppc-prefetching=true -ppc-loop-prefetch-cache-line=64 | FileCheck %s -check-prefix=CHECK-DCBT
-; RUN: llc < %s -march=ppc64 -mcpu=a2 -enable-ppc-prefetching=true | FileCheck %s -check-prefix=CHECK-DCBT
+; RUN: llc < %s -mtriple=ppc64-- -mcpu=a2 -enable-ppc-prefetching=true | FileCheck %s -check-prefix=CHECK-DCBT
; Function Attrs: nounwind
define signext i32 @check_cache_line() local_unnamed_addr {
Modified: llvm/trunk/test/CodeGen/PowerPC/ppc64le-aggregates.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc64le-aggregates.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc64le-aggregates.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc64le-aggregates.ll Tue Aug 1 15:20:41 2017
@@ -1,8 +1,8 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64le -mcpu=pwr8 \
+; RUN: llc -verify-machineinstrs < %s -mcpu=pwr8 \
; RUN: -mattr=+altivec -mattr=-vsx | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -march=ppc64le -mattr=+altivec \
+; RUN: llc -verify-machineinstrs < %s -mattr=+altivec \
; RUN: -mattr=-vsx | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -march=ppc64le -mcpu=pwr9 \
+; RUN: llc -verify-machineinstrs < %s -mcpu=pwr9 \
; RUN: -mattr=-direct-move -mattr=+altivec | FileCheck %s
; Currently VSX support is disabled for this test because we generate lxsdx
Modified: llvm/trunk/test/CodeGen/PowerPC/ppc64le-calls.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc64le-calls.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc64le-calls.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc64le-calls.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs -march=ppc64le -mcpu=pwr8 < %s | FileCheck %s
-; RUN: llc -verify-machineinstrs -march=ppc64le < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mcpu=pwr8 < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s | FileCheck %s
; The second run of the test case is to ensure the behaviour is the same
; without specifying -mcpu=pwr8 as that is now the baseline for ppc64le.
Modified: llvm/trunk/test/CodeGen/PowerPC/ppc64le-localentry-large.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc64le-localentry-large.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc64le-localentry-large.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc64le-localentry-large.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs -march=ppc64le -code-model=large < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -code-model=large < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-n32:64"
target triple = "powerpc64le-unknown-linux-gnu"
Modified: llvm/trunk/test/CodeGen/PowerPC/ppc64le-localentry.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc64le-localentry.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc64le-localentry.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc64le-localentry.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
-; RUN: llc -verify-machineinstrs -march=ppc64le -mcpu=pwr8 < %s | FileCheck %s
-; RUN: llc -verify-machineinstrs -march=ppc64le -mcpu=pwr8 -O0 < %s | FileCheck %s
-; RUN: llc -verify-machineinstrs -march=ppc64le < %s | FileCheck %s
-; RUN: llc -verify-machineinstrs -march=ppc64le -O0 < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mcpu=pwr8 < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mcpu=pwr8 -O0 < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -O0 < %s | FileCheck %s
; The second run of the test case is to ensure the behaviour is the same
; without specifying -mcpu=pwr8 as that is now the baseline for ppc64le.
Modified: llvm/trunk/test/CodeGen/PowerPC/ppcf128-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppcf128-2.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppcf128-2.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppcf128-2.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64--
define i64 @__fixtfdi(ppc_fp128 %a) nounwind {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/ppcf128-3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppcf128-3.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppcf128-3.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppcf128-3.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
%struct.stp_sequence = type { double, double }
define i32 @stp_sequence_set_short_data(%struct.stp_sequence* %sequence, i32 %count, i16* %data) {
Modified: llvm/trunk/test/CodeGen/PowerPC/ppcf128-4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppcf128-4.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppcf128-4.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppcf128-4.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
define ppc_fp128 @__floatditf(i64 %u) nounwind {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/pr18663-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/pr18663-2.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/pr18663-2.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/pr18663-2.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mtriple=powerpc64-unknown-linux-gnu
-; RUN: llc -verify-machineinstrs < %s -march=ppc64le -mtriple=powerpc64le-unknown-linux-gnu
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu
%"class.std::__1::locale::id.1580.4307.4610.8491" = type { %"struct.std::__1::once_flag.1579.4306.4609.8490", i32 }
%"struct.std::__1::once_flag.1579.4306.4609.8490" = type { i64 }
Modified: llvm/trunk/test/CodeGen/PowerPC/pr18663.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/pr18663.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/pr18663.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/pr18663.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mtriple=powerpc64-unknown-linux-gnu
-; RUN: llc -verify-machineinstrs < %s -march=ppc64le -mtriple=powerpc64le-unknown-linux-gnu
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu
%class.Point.1 = type { %class.Tensor.0 }
%class.Tensor.0 = type { [3 x double] }
Modified: llvm/trunk/test/CodeGen/PowerPC/pr3711_widen_bit.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/pr3711_widen_bit.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/pr3711_widen_bit.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/pr3711_widen_bit.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5
; Test that causes a abort in expanding a bit convert due to a missing support
; for widening.
Modified: llvm/trunk/test/CodeGen/PowerPC/pwr3-6x.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/pwr3-6x.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/pwr3-6x.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/pwr3-6x.ll Tue Aug 1 15:20:41 2017
@@ -1,10 +1,10 @@
; Test basic support for some older processors.
-;RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=pwr3 | FileCheck %s
-;RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=pwr4 | FileCheck %s
-;RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=pwr5 | FileCheck %s
-;RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=pwr5x | FileCheck %s
-;RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=pwr6x | FileCheck %s
+;RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mcpu=pwr3 | FileCheck %s
+;RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mcpu=pwr4 | FileCheck %s
+;RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mcpu=pwr5 | FileCheck %s
+;RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mcpu=pwr5x | FileCheck %s
+;RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- -mcpu=pwr6x | FileCheck %s
define void @foo() {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/qpx-bv-sint.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/qpx-bv-sint.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/qpx-bv-sint.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/qpx-bv-sint.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
+; RUN: llc -verify-machineinstrs < %s -mcpu=a2q | FileCheck %s
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-v128:128:128-n32:64"
target triple = "powerpc64-bgq-linux"
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2q | FileCheck %s
define void @s452(i32 %inp1) nounwind {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/qpx-func-clobber.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/qpx-func-clobber.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/qpx-func-clobber.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/qpx-func-clobber.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2q | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mcpu=a2q | FileCheck %s
target triple = "powerpc64-bgq-linux"
declare <4 x double> @foo(<4 x double> %p)
Modified: llvm/trunk/test/CodeGen/PowerPC/qpx-load.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/qpx-load.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/qpx-load.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/qpx-load.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2q | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mcpu=a2q | FileCheck %s
target triple = "powerpc64-bgq-linux"
define <4 x double> @foo(<4 x double>* %p) {
Modified: llvm/trunk/test/CodeGen/PowerPC/qpx-s-load.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/qpx-s-load.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/qpx-s-load.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/qpx-s-load.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2q | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mcpu=a2q | FileCheck %s
target triple = "powerpc64-bgq-linux"
define <4 x float> @foo(<4 x float>* %p) {
Modified: llvm/trunk/test/CodeGen/PowerPC/qpx-s-sel.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/qpx-s-sel.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/qpx-s-sel.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/qpx-s-sel.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2q | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mcpu=a2q | FileCheck %s
target triple = "powerpc64-bgq-linux"
@R = global <4 x i1> <i1 0, i1 0, i1 0, i1 0>, align 16
Modified: llvm/trunk/test/CodeGen/PowerPC/qpx-s-store.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/qpx-s-store.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/qpx-s-store.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/qpx-s-store.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2q | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mcpu=a2q | FileCheck %s
target triple = "powerpc64-bgq-linux"
define void @foo(<4 x float> %v, <4 x float>* %p) {
Modified: llvm/trunk/test/CodeGen/PowerPC/qpx-sel.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/qpx-sel.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/qpx-sel.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/qpx-sel.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2q | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mcpu=a2q | FileCheck %s
target triple = "powerpc64-bgq-linux"
@R = global <4 x i1> <i1 0, i1 0, i1 0, i1 0>, align 16
Modified: llvm/trunk/test/CodeGen/PowerPC/qpx-store.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/qpx-store.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/qpx-store.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/qpx-store.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 -mcpu=a2q | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mcpu=a2q | FileCheck %s
target triple = "powerpc64-bgq-linux"
define void @foo(<4 x double> %v, <4 x double>* %p) {
Modified: llvm/trunk/test/CodeGen/PowerPC/reg-coalesce-simple.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/reg-coalesce-simple.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/reg-coalesce-simple.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/reg-coalesce-simple.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep or
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep or
%struct.foo = type { i32, i32, [0 x i8] }
Modified: llvm/trunk/test/CodeGen/PowerPC/restore-r30.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/restore-r30.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/restore-r30.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/restore-r30.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -march=ppc32 -relocation-model=pic < %s | FileCheck %s
+; RUN: llc -relocation-model=pic < %s | FileCheck %s
; The load restoring r30 at the end of the function was placed out of order
; relative to its uses as the PIC base pointer.
@@ -11,7 +11,7 @@
; CHECK-NOT: 30,
target datalayout = "E-m:e-p:32:32-i64:64-n32"
-target triple = "powerpc"
+target triple = "powerpc--"
define double @fred(i64 %a) #0 {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/retaddr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/retaddr.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/retaddr.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/retaddr.ll Tue Aug 1 15:20:41 2017
@@ -1,8 +1,6 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep mflr
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep lwz
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | grep "ld r., 16(r1)"
-
-target triple = "powerpc-apple-darwin8"
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 | grep mflr
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 | grep lwz
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-apple-darwin8 | grep "ld r., 16(r1)"
define void @foo(i8** %X) nounwind {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/return-val-i128.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/return-val-i128.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/return-val-i128.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/return-val-i128.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64--
define i128 @__fixsfdi(float %a) {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/rlwimi-commute.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/rlwimi-commute.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/rlwimi-commute.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/rlwimi-commute.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep rlwimi
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep "or "
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep rlwimi
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep "or "
; Make sure there is no register-register copies here.
Modified: llvm/trunk/test/CodeGen/PowerPC/rlwimi-keep-rsh.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/rlwimi-keep-rsh.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/rlwimi-keep-rsh.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/rlwimi-keep-rsh.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin | FileCheck %s
; Formerly dropped the RHS of %tmp6 when constructing rlwimi.
; 7346117
Modified: llvm/trunk/test/CodeGen/PowerPC/rlwimi.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/rlwimi.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/rlwimi.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/rlwimi.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
; All of these ands and shifts should be folded into rlwimi's
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep and
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep rlwimi | count 8
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep and
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep rlwimi | count 8
define i32 @test1(i32 %x, i32 %y) {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/rlwimi2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/rlwimi2.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/rlwimi2.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/rlwimi2.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
; All of these ands and shifts should be folded into rlwimi's
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -o %t
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -o %t
; RUN: grep rlwimi %t | count 4
; RUN: not grep srwi %t
; RUN: not grep slwi %t
Modified: llvm/trunk/test/CodeGen/PowerPC/rlwimi3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/rlwimi3.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/rlwimi3.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/rlwimi3.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
; REQUIRES: asserts
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -stats 2>&1 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -stats 2>&1 | \
; RUN: grep "Number of machine instrs printed" | grep 12
define i16 @Trans16Bit(i32 %srcA, i32 %srcB, i32 %alpha) {
Modified: llvm/trunk/test/CodeGen/PowerPC/rlwinm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/rlwinm.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/rlwinm.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/rlwinm.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
; All of these ands and shifts should be folded into rlwimi's
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -o %t
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -o %t
; RUN: not grep and %t
; RUN: not grep srawi %t
; RUN: not grep srwi %t
Modified: llvm/trunk/test/CodeGen/PowerPC/rlwinm2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/rlwinm2.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/rlwinm2.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/rlwinm2.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
; All of these ands and shifts should be folded into rlw[i]nm instructions
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -o %t
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -o %t
; RUN: not grep and %t
; RUN: not grep srawi %t
; RUN: not grep srwi %t
Modified: llvm/trunk/test/CodeGen/PowerPC/rotl-2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/rotl-2.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/rotl-2.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/rotl-2.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep rotlwi | count 2
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep clrlwi | count 2
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep rotlw | count 4
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep or
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep rotlwi | count 2
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep clrlwi | count 2
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep rotlw | count 4
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep or
define i32 @rotl32(i32 %A, i8 %Amt) nounwind {
%shift.upgrd.1 = zext i8 %Amt to i32 ; <i32> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/rotl-64.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/rotl-64.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/rotl-64.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/rotl-64.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | grep rotld
-; RUN: llc -verify-machineinstrs < %s -march=ppc64 | grep rotldi
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- | grep rotld
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc64-- | grep rotldi
; PR1613
define i64 @t1(i64 %A) {
Modified: llvm/trunk/test/CodeGen/PowerPC/rotl.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/rotl.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/rotl.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/rotl.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep rotrw: | count 1
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep rotlw: | count 1
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep rotlwi: | count 1
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep rotrwi: | count 1
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep rotrw: | count 1
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep rotlw: | count 1
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep rotlwi: | count 1
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep rotrwi: | count 1
define i32 @rotlw(i32 %x, i32 %sh) {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/s000-alias-misched.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/s000-alias-misched.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/s000-alias-misched.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/s000-alias-misched.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
+; RUN: llc -verify-machineinstrs < %s -enable-misched -mcpu=a2 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -enable-misched -enable-aa-sched-mi -mcpu=a2 | FileCheck %s
target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-v128:128:128-n32:64"
target triple = "powerpc64-bgq-linux"
-; RUN: llc -verify-machineinstrs < %s -enable-misched -march=ppc64 -mcpu=a2 | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -enable-misched -enable-aa-sched-mi -march=ppc64 -mcpu=a2 | FileCheck %s
@aa = external global [256 x [256 x double]], align 32
@bb = external global [256 x [256 x double]], align 32
Modified: llvm/trunk/test/CodeGen/PowerPC/save-bp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/save-bp.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/save-bp.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/save-bp.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
-; RUN: llc -march=ppc64 -ppc-always-use-base-pointer < %s | FileCheck %s --check-prefix CHECK --check-prefix PPC64
-; RUN: llc -march=ppc32 -ppc-always-use-base-pointer < %s | FileCheck %s --check-prefix CHECK --check-prefix PPC32
-; RUN: llc -march=ppc32 -ppc-always-use-base-pointer -relocation-model pic < %s | FileCheck %s --check-prefix CHECK --check-prefix PPC32PIC
+; RUN: llc -mtriple=ppc64-- -ppc-always-use-base-pointer < %s | FileCheck %s --check-prefix CHECK --check-prefix PPC64
+; RUN: llc -ppc-always-use-base-pointer < %s | FileCheck %s --check-prefix CHECK --check-prefix PPC32
+; RUN: llc -ppc-always-use-base-pointer -relocation-model pic < %s | FileCheck %s --check-prefix CHECK --check-prefix PPC32PIC
; CHECK-LABEL: fred:
Modified: llvm/trunk/test/CodeGen/PowerPC/save-cr-ppc32svr4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/save-cr-ppc32svr4.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/save-cr-ppc32svr4.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/save-cr-ppc32svr4.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -march=ppc32 -relocation-model pic < %s | FileCheck %s
+; RUN: llc -relocation-model pic < %s | FileCheck %s
;
; Make sure that the CR register is saved correctly on PPC32/SVR4.
Modified: llvm/trunk/test/CodeGen/PowerPC/save-crbp-ppc32svr4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/save-crbp-ppc32svr4.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/save-crbp-ppc32svr4.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/save-crbp-ppc32svr4.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -march=ppc32 -relocation-model pic < %s | FileCheck %s
+; RUN: llc -relocation-model pic < %s | FileCheck %s
; CHECK-LABEL: fred
; CHECK: stwux 1, 1, 0
Modified: llvm/trunk/test/CodeGen/PowerPC/select-cc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/select-cc.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/select-cc.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/select-cc.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
; PR3011
define <2 x double> @vector_select(<2 x double> %x, <2 x double> %y) nounwind {
Modified: llvm/trunk/test/CodeGen/PowerPC/select_lt0.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/select_lt0.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/select_lt0.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/select_lt0.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep cmp
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep cmp
define i32 @seli32_1(i32 %a) {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/setcc_no_zext.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/setcc_no_zext.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/setcc_no_zext.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/setcc_no_zext.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep rlwinm
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep rlwinm
; FIXME: This optimization has temporarily regressed with crbits enabled by
; default at the default CodeOpt level.
Modified: llvm/trunk/test/CodeGen/PowerPC/seteq-0.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/seteq-0.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/seteq-0.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/seteq-0.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 | FileCheck %s
define i32 @eq0(i32 %a) {
%tmp.1 = icmp eq i32 %a, 0 ; <i1> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/shl_elim.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/shl_elim.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/shl_elim.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/shl_elim.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep slwi
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep slwi
define i32 @test1(i64 %a) {
%tmp29 = lshr i64 %a, 24 ; <i64> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/shl_sext.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/shl_sext.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/shl_sext.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/shl_sext.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
; This test should not contain a sign extend
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep extsb
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep extsb
define i32 @test(i32 %mode.0.i.0) {
%tmp.79 = trunc i32 %mode.0.i.0 to i8 ; <i8> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/sign_ext_inreg1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/sign_ext_inreg1.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/sign_ext_inreg1.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/sign_ext_inreg1.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep srwi
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep rlwimi
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep srwi
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep rlwimi
define i32 @baz(i64 %a) {
%tmp29 = lshr i64 %a, 24 ; <i64> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/small-arguments.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/small-arguments.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/small-arguments.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/small-arguments.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep "extsh\|rlwinm"
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep "extsh\|rlwinm"
declare signext i16 @foo()
Modified: llvm/trunk/test/CodeGen/PowerPC/stfiwx.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/stfiwx.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/stfiwx.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/stfiwx.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=stfiwx | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin8 -mattr=-stfiwx | FileCheck -check-prefix=CHECK-LS %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 -mattr=stfiwx | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin8 -mattr=-stfiwx | FileCheck -check-prefix=CHECK-LS %s
define void @test1(float %a, i32* %b) nounwind {
; CHECK-LABEL: @test1
Modified: llvm/trunk/test/CodeGen/PowerPC/store-load-fwd.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/store-load-fwd.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/store-load-fwd.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/store-load-fwd.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | not grep lwz
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep lwz
define i32 @test(i32* %P) {
store i32 1, i32* %P
Modified: llvm/trunk/test/CodeGen/PowerPC/subc.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/subc.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/subc.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/subc.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
; All of these should be codegen'd without loading immediates
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -o %t
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -o %t
; RUN: grep subfc %t | count 1
; RUN: grep subfe %t | count 1
; RUN: grep subfze %t | count 1
Modified: llvm/trunk/test/CodeGen/PowerPC/tailcall1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/tailcall1.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/tailcall1.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/tailcall1.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -tailcallopt | grep TC_RETURN
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -tailcallopt | grep TC_RETURN
define fastcc i32 @tailcallee(i32 %a1, i32 %a2, i32 %a3, i32 %a4) {
entry:
ret i32 %a3
Modified: llvm/trunk/test/CodeGen/PowerPC/tls-cse.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/tls-cse.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/tls-cse.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/tls-cse.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs -march=ppc64 -mcpu=pwr7 -O2 -relocation-model=pic < %s | FileCheck %s
-; RUN: llc -verify-machineinstrs -march=ppc64 -mcpu=pwr7 -O2 -relocation-model=pic < %s | grep "__tls_get_addr" | count 1
+; RUN: llc -verify-machineinstrs -mcpu=pwr7 -O2 -relocation-model=pic < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mcpu=pwr7 -O2 -relocation-model=pic < %s | grep "__tls_get_addr" | count 1
; This test was derived from LLVM's own
; PrettyStackTraceEntry::~PrettyStackTraceEntry(). It demonstrates an
Modified: llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/tls-pic.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
-; RUN: llc -verify-machineinstrs -march=ppc64 -mcpu=pwr7 -O0 -relocation-model=pic < %s | FileCheck -check-prefix=OPT0 %s
-; RUN: llc -verify-machineinstrs -march=ppc64 -mcpu=pwr7 -O1 -relocation-model=pic < %s | FileCheck -check-prefix=OPT1 %s
-; RUN: llc -verify-machineinstrs -march=ppc32 -O0 -relocation-model=pic < %s | FileCheck -check-prefix=OPT0-32 %s
-; RUN: llc -verify-machineinstrs -march=ppc32 -O1 -relocation-model=pic < %s | FileCheck -check-prefix=OPT1-32 %s
+; RUN: llc -verify-machineinstrs -mcpu=pwr7 -O0 -relocation-model=pic < %s | FileCheck -check-prefix=OPT0 %s
+; RUN: llc -verify-machineinstrs -mcpu=pwr7 -O1 -relocation-model=pic < %s | FileCheck -check-prefix=OPT1 %s
+; RUN: llc -verify-machineinstrs -mtriple=ppc32-- -O0 -relocation-model=pic < %s | FileCheck -check-prefix=OPT0-32 %s
+; RUN: llc -verify-machineinstrs -mtriple=ppc32-- -O1 -relocation-model=pic < %s | FileCheck -check-prefix=OPT1-32 %s
target triple = "powerpc64-unknown-linux-gnu"
; Test correct assembly code generation for thread-local storage using
Modified: llvm/trunk/test/CodeGen/PowerPC/tls-store2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/tls-store2.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/tls-store2.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/tls-store2.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs -march=ppc64 -mcpu=pwr7 -O2 -relocation-model=pic < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mcpu=pwr7 -O2 -relocation-model=pic < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-n32:64"
target triple = "powerpc64le-unknown-linux-gnu"
Modified: llvm/trunk/test/CodeGen/PowerPC/tls.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/tls.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/tls.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/tls.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
-; RUN: llc -relocation-model=static -verify-machineinstrs -O0 < %s -march=ppc64 -mcpu=ppc64 | FileCheck -check-prefix=OPT0 %s
-; RUN: llc -relocation-model=static -verify-machineinstrs -O1 < %s -march=ppc64 -mcpu=ppc64 | FileCheck -check-prefix=OPT1 %s
-; RUN: llc -verify-machineinstrs -O0 < %s -march=ppc32 -mcpu=ppc | FileCheck -check-prefix=OPT0-PPC32 %s
+; RUN: llc -relocation-model=static -verify-machineinstrs -O0 < %s -mcpu=ppc64 | FileCheck -check-prefix=OPT0 %s
+; RUN: llc -relocation-model=static -verify-machineinstrs -O1 < %s -mcpu=ppc64 | FileCheck -check-prefix=OPT1 %s
+; RUN: llc -verify-machineinstrs -O0 < %s -mtriple=ppc32-- -mcpu=ppc | FileCheck -check-prefix=OPT0-PPC32 %s
target triple = "powerpc64-unknown-linux-gnu"
Modified: llvm/trunk/test/CodeGen/PowerPC/trampoline.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/trampoline.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/trampoline.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/trampoline.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 | grep "__trampoline_setup"
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | grep "__trampoline_setup"
module asm "\09.lazy_reference .objc_class_name_NSImageRep"
module asm "\09.objc_class_name_NSBitmapImageRep=0"
Modified: llvm/trunk/test/CodeGen/PowerPC/unsafe-math.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/unsafe-math.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/unsafe-math.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/unsafe-math.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 | grep fmul | count 2
-; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -march=ppc32 -enable-unsafe-fp-math | \
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- | grep fmul | count 2
+; RUN: llc -verify-machineinstrs < %s -mattr=-vsx -mtriple=ppc32-- -enable-unsafe-fp-math | \
; RUN: grep fmul | count 1
define double @foo(double %X) nounwind {
Modified: llvm/trunk/test/CodeGen/PowerPC/vcmp-fold.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vcmp-fold.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vcmp-fold.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vcmp-fold.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
; This should fold the "vcmpbfp." and "vcmpbfp" instructions into a single
; "vcmpbfp.".
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | grep vcmpbfp | count 1
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | grep vcmpbfp | count 1
define void @test(<4 x float>* %x, <4 x float>* %y, i32* %P) {
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_abs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_abs.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_abs.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_abs.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
-; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu -march=ppc64le \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu \
; RUN: -mattr=+altivec -mattr=+vsx | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu -march=ppc64le \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu \
; RUN: -mattr=+altivec -mattr=-vsx | FileCheck %s \
; RUN: -check-prefix=CHECK-NOVSX
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_auto_constant.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_auto_constant.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_auto_constant.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_auto_constant.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin -mcpu=g5 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin -mcpu=g5 | FileCheck %s
; Formerly produced .long, 7320806 (partial)
; CHECK: .byte 22
; CHECK: .byte 21
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_br_cmp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_br_cmp.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_br_cmp.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_br_cmp.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 -o %t
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 -o %t
; RUN: grep vcmpeqfp. %t
; RUN: not grep mfcr %t
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_buildvector_loadstore.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_buildvector_loadstore.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_buildvector_loadstore.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_buildvector_loadstore.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin -mattr=+altivec -disable-ppc-ilp-pref | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin -mattr=+altivec -disable-ppc-ilp-pref | FileCheck %s
; Formerly this did byte loads and word stores.
@a = external global <16 x i8>
@b = external global <16 x i8>
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_call.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_call.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_call.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_call.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5
define <4 x i32> @test_arg(<4 x i32> %A, <4 x i32> %B) {
%C = add <4 x i32> %A, %B ; <<4 x i32>> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_fneg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_fneg.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_fneg.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_fneg.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | FileCheck %s -check-prefix=CHECK-NOVSX
-; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu -march=ppc64le \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | FileCheck %s -check-prefix=CHECK-NOVSX
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu \
; RUN: -mattr=+altivec -mattr=+vsx | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu -march=ppc64le \
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu \
; RUN: -mattr=+altivec -mattr=-vsx | FileCheck %s \
; RUN: -check-prefix=CHECK-NOVSX
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_insert.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_insert.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_insert.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_insert.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | grep sth
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | grep sth
define <8 x i16> @insert(<8 x i16> %foo, i16 %a) nounwind {
entry:
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_misaligned.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_misaligned.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_misaligned.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_misaligned.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mcpu=g5 | FileCheck %s
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -mattr=+altivec -mattr=-vsx -mattr=-power8-vector | FileCheck %s
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu -mattr=+altivec -mattr=-vsx -mattr=-power8-vector | FileCheck %s -check-prefix=CHECK-LE
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_mul.ll Tue Aug 1 15:20:41 2017
@@ -1,8 +1,8 @@
-; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu -march=ppc32 -mattr=+altivec -mattr=-vsx -mattr=-power8-altivec | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -march=ppc64 -mattr=+altivec -mattr=-vsx -mcpu=pwr7 | FileCheck %s
-; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu -march=ppc64 -mattr=+altivec -mattr=-vsx -mcpu=pwr8 -mattr=-power8-altivec | FileCheck %s -check-prefix=CHECK-LE
-; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -march=ppc64 -mattr=+altivec -mattr=+vsx -mcpu=pwr7 | FileCheck %s -check-prefix=CHECK-VSX
-; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu -march=ppc64 -mattr=+altivec -mattr=+vsx -mcpu=pwr8 -mattr=-power8-altivec | FileCheck %s -check-prefix=CHECK-LE-VSX
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu -mattr=+altivec -mattr=-vsx -mattr=-power8-altivec | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -mattr=+altivec -mattr=-vsx -mcpu=pwr7 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu -mattr=+altivec -mattr=-vsx -mcpu=pwr8 -mattr=-power8-altivec | FileCheck %s -check-prefix=CHECK-LE
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu -mattr=+altivec -mattr=+vsx -mcpu=pwr7 | FileCheck %s -check-prefix=CHECK-VSX
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu -mattr=+altivec -mattr=+vsx -mcpu=pwr8 -mattr=-power8-altivec | FileCheck %s -check-prefix=CHECK-LE-VSX
define <4 x i32> @test_v4i32(<4 x i32>* %X, <4 x i32>* %Y) {
%tmp = load <4 x i32>, <4 x i32>* %X ; <<4 x i32>> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_perf_shuffle.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_perf_shuffle.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_perf_shuffle.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_perf_shuffle.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | not grep vperm
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | not grep vperm
define <4 x float> @test_uu72(<4 x float>* %P1, <4 x float>* %P2) {
%V1 = load <4 x float>, <4 x float>* %P1 ; <<4 x float>> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_shift.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_shift.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_shift.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_shift.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5
; PR3628
define void @update(<4 x i32> %val, <4 x i32>* %dst) nounwind {
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_shuffle.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_shuffle.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_shuffle.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_shuffle.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
; RUN: opt -mtriple=powerpc-apple-darwin < %s -instcombine | \
-; RUN: llc -march=ppc32 -mcpu=g5 | not grep vperm
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 > %t
+; RUN: llc -mtriple=ppc32-- -mcpu=g5 | not grep vperm
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 > %t
; RUN: grep vsldoi %t | count 2
; RUN: grep vmrgh %t | count 7
; RUN: grep vmrgl %t | count 6
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_splat.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_splat.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_splat.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_splat.ll Tue Aug 1 15:20:41 2017
@@ -1,7 +1,7 @@
; Test that vectors are scalarized/lowered correctly.
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g3 | \
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g3 | \
; RUN: grep stfs | count 4
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 -o %t
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 -o %t
; RUN: grep vspltw %t | count 2
; RUN: grep vsplti %t | count 3
; RUN: grep vsplth %t | count 1
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_splat_constant.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_splat_constant.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_splat_constant.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_splat_constant.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mtriple=powerpc-apple-darwin -mcpu=g5 | FileCheck %s
+; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin -mcpu=g5 | FileCheck %s
; Formerly incorrectly inserted vsldoi (endian confusion)
@baz = common global <16 x i8> zeroinitializer ; <<16 x i8>*> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_vrsave.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_vrsave.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_vrsave.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_vrsave.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 -o %t
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 -o %t
; RUN: grep vrlw %t
; RUN: not grep spr %t
; RUN: not grep vrsave %t
Modified: llvm/trunk/test/CodeGen/PowerPC/vec_zero.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vec_zero.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vec_zero.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vec_zero.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | grep vxor
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | grep vxor
define void @foo(<4 x float>* %P) {
%T = load <4 x float>, <4 x float>* %P ; <<4 x float>> [#uses=1]
Modified: llvm/trunk/test/CodeGen/PowerPC/vector-identity-shuffle.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vector-identity-shuffle.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vector-identity-shuffle.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vector-identity-shuffle.ll Tue Aug 1 15:20:41 2017
@@ -1,5 +1,5 @@
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | grep test:
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 | not grep vperm
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | grep test:
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 | not grep vperm
define void @test(<4 x float>* %tmp2.i) {
%tmp2.i.upgrd.1 = load <4 x float>, <4 x float>* %tmp2.i ; <<4 x float>> [#uses=4]
Modified: llvm/trunk/test/CodeGen/PowerPC/vector-merge-store-fp-constants.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vector-merge-store-fp-constants.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vector-merge-store-fp-constants.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vector-merge-store-fp-constants.ll Tue Aug 1 15:20:41 2017
@@ -1,4 +1,4 @@
-; RUN: llc -verify-machineinstrs -march=ppc64 -mtriple=ppc64-apple-darwin < %s | FileCheck %s
+; RUN: llc -verify-machineinstrs -mtriple=ppc64-apple-darwin < %s | FileCheck %s
; CHECK-LABEL: {{^}}_merge_8_float_zero_stores:
; CHECK: li [[ZEROREG:r[0-9]+]], 0
Modified: llvm/trunk/test/CodeGen/PowerPC/vector.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/vector.ll?rev=309754&r1=309753&r2=309754&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/vector.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/vector.ll Tue Aug 1 15:20:41 2017
@@ -1,6 +1,6 @@
; Test that vectors are scalarized/lowered correctly.
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g5 > %t
-; RUN: llc -verify-machineinstrs < %s -march=ppc32 -mcpu=g3 >> %t
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g5 > %t
+; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- -mcpu=g3 >> %t
%d8 = type <8 x double>
%f1 = type <1 x float>
More information about the llvm-commits
mailing list