]> granicus.if.org Git - llvm/commitdiff
X86: Do not use llc -march in tests.
authorMatthias Braun <matze@braunis.de>
Wed, 2 Aug 2017 00:28:10 +0000 (00:28 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 2 Aug 2017 00:28:10 +0000 (00:28 +0000)
`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.

See also the discussion in https://reviews.llvm.org/D35287

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309774 91177308-0d34-0410-b5e6-96231b3b80d8

729 files changed:
test/CodeGen/X86/2003-08-03-CallArgLiveRanges.ll
test/CodeGen/X86/2003-08-23-DeadBlockTest.ll
test/CodeGen/X86/2003-11-03-GlobalBool.ll
test/CodeGen/X86/2004-02-13-FrameReturnAddress.ll
test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll
test/CodeGen/X86/2004-02-22-Casts.ll
test/CodeGen/X86/2004-03-30-Select-Max.ll
test/CodeGen/X86/2004-04-13-FPCMOV-Crash.ll
test/CodeGen/X86/2004-06-10-StackifierCrash.ll
test/CodeGen/X86/2004-10-08-SelectSetCCFold.ll
test/CodeGen/X86/2005-01-17-CycleInDAG.ll
test/CodeGen/X86/2005-02-14-IllegalAssembler.ll
test/CodeGen/X86/2005-05-08-FPStackifierPHI.ll
test/CodeGen/X86/2006-03-02-InstrSchedBug.ll
test/CodeGen/X86/2006-04-04-CrossBlockCrash.ll
test/CodeGen/X86/2006-04-27-ISelFoldingBug.ll
test/CodeGen/X86/2006-05-01-SchedCausingSpills.ll
test/CodeGen/X86/2006-05-02-InstrSched2.ll
test/CodeGen/X86/2006-05-08-CoalesceSubRegClass.ll
test/CodeGen/X86/2006-05-08-InstrSched.ll
test/CodeGen/X86/2006-05-11-InstrSched.ll
test/CodeGen/X86/2006-05-17-VectorArg.ll
test/CodeGen/X86/2006-05-22-FPSetEQ.ll
test/CodeGen/X86/2006-05-25-CycleInDAG.ll
test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll
test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll
test/CodeGen/X86/2006-07-20-InlineAsm.ll
test/CodeGen/X86/2006-07-28-AsmPrint-Long-As-Pointer.ll
test/CodeGen/X86/2006-07-31-SingleRegClass.ll
test/CodeGen/X86/2006-08-07-CycleInDAG.ll
test/CodeGen/X86/2006-08-16-CycleInDAG.ll
test/CodeGen/X86/2006-08-21-ExtraMovInst.ll
test/CodeGen/X86/2006-09-01-CycleInDAG.ll
test/CodeGen/X86/2006-10-09-CycleInDAG.ll
test/CodeGen/X86/2006-10-10-FindModifiedNodeSlotBug.ll
test/CodeGen/X86/2006-10-12-CycleInDAG.ll
test/CodeGen/X86/2006-10-13-CycleInDAG.ll
test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll
test/CodeGen/X86/2006-11-12-CSRetCC.ll
test/CodeGen/X86/2006-11-17-IllegalMove.ll
test/CodeGen/X86/2006-11-27-SelectLegalize.ll
test/CodeGen/X86/2006-12-16-InlineAsmCrash.ll
test/CodeGen/X86/2006-12-19-IntelSyntax.ll
test/CodeGen/X86/2007-01-13-StackPtrIndex.ll
test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll
test/CodeGen/X86/2007-02-04-OrAddrMode.ll
test/CodeGen/X86/2007-02-19-LiveIntervalAssert.ll
test/CodeGen/X86/2007-02-23-DAGCombine-Miscompile.ll
test/CodeGen/X86/2007-02-25-FastCCStack.ll
test/CodeGen/X86/2007-03-15-GEP-Idx-Sink.ll
test/CodeGen/X86/2007-03-16-InlineAsm.ll
test/CodeGen/X86/2007-03-18-LiveIntervalAssert.ll
test/CodeGen/X86/2007-03-24-InlineAsmMultiRegConstraint.ll
test/CodeGen/X86/2007-03-24-InlineAsmPModifier.ll
test/CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll
test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll
test/CodeGen/X86/2007-03-26-CoalescerBug.ll
test/CodeGen/X86/2007-04-11-InlineAsmVectorResult.ll
test/CodeGen/X86/2007-04-24-Huge-Stack.ll
test/CodeGen/X86/2007-05-05-VecCastExpand.ll
test/CodeGen/X86/2007-05-14-LiveIntervalAssert.ll
test/CodeGen/X86/2007-05-17-ShuffleISelBug.ll
test/CodeGen/X86/2007-06-28-X86-64-isel.ll
test/CodeGen/X86/2007-06-29-DAGCombinerBug.ll
test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll
test/CodeGen/X86/2007-08-01-LiveVariablesBug.ll
test/CodeGen/X86/2007-08-10-SignExtSubreg.ll
test/CodeGen/X86/2007-10-04-AvoidEFLAGSCopy.ll
test/CodeGen/X86/2007-10-12-CoalesceExtSubReg.ll
test/CodeGen/X86/2007-10-12-SpillerUnfold1.ll
test/CodeGen/X86/2007-10-12-SpillerUnfold2.ll
test/CodeGen/X86/2007-10-19-SpillerUnfold.ll
test/CodeGen/X86/2007-10-29-ExtendSetCC.ll
test/CodeGen/X86/2007-10-30-LSRCrash.ll
test/CodeGen/X86/2007-10-31-extractelement-i64.ll
test/CodeGen/X86/2007-11-01-ISelCrash.ll
test/CodeGen/X86/2007-11-06-InstrSched.ll
test/CodeGen/X86/2007-11-07-MulBy4.ll
test/CodeGen/X86/2007-11-30-LoadFolding-Bug.ll
test/CodeGen/X86/2007-12-18-LoadCSEBug.ll
test/CodeGen/X86/2008-01-08-SchedulerCrash.ll
test/CodeGen/X86/2008-01-16-FPStackifierAssert.ll
test/CodeGen/X86/2008-01-16-InvalidDAGCombineXform.ll
test/CodeGen/X86/2008-02-05-ISelCrash.ll
test/CodeGen/X86/2008-02-06-LoadFoldingBug.ll
test/CodeGen/X86/2008-02-18-TailMergingBug.ll
test/CodeGen/X86/2008-02-22-LocalRegAllocBug.ll
test/CodeGen/X86/2008-02-25-X86-64-CoalescerBug.ll
test/CodeGen/X86/2008-02-26-AsmDirectMemOp.ll
test/CodeGen/X86/2008-02-27-DeadSlotElimBug.ll
test/CodeGen/X86/2008-02-27-PEICrash.ll
test/CodeGen/X86/2008-03-06-frem-fpstack.ll
test/CodeGen/X86/2008-03-07-APIntBug.ll
test/CodeGen/X86/2008-03-13-TwoAddrPassCrash.ll
test/CodeGen/X86/2008-03-19-DAGCombinerBug.ll
test/CodeGen/X86/2008-03-25-TwoAddrPassBug.ll
test/CodeGen/X86/2008-04-09-BranchFolding.ll
test/CodeGen/X86/2008-04-16-CoalescerBug.ll
test/CodeGen/X86/2008-04-24-MemCpyBug.ll
test/CodeGen/X86/2008-04-28-CyclicSchedUnit.ll
test/CodeGen/X86/2008-05-01-InvalidOrdCompare.ll
test/CodeGen/X86/2008-05-09-PHIElimBug.ll
test/CodeGen/X86/2008-05-09-ShuffleLoweringBug.ll
test/CodeGen/X86/2008-05-21-CoalescerBug.ll
test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll
test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll
test/CodeGen/X86/2008-06-25-VecISelBug.ll
test/CodeGen/X86/2008-07-11-SHLBy1.ll
test/CodeGen/X86/2008-07-22-CombinerCrash.ll
test/CodeGen/X86/2008-07-23-VSetCC.ll
test/CodeGen/X86/2008-08-06-CmpStride.ll
test/CodeGen/X86/2008-08-06-RewriterBug.ll
test/CodeGen/X86/2008-08-23-64Bit-maskmovq.ll
test/CodeGen/X86/2008-09-05-sinttofp-2xi32.ll
test/CodeGen/X86/2008-09-11-CoalescerBug.ll
test/CodeGen/X86/2008-09-11-CoalescerBug2.ll
test/CodeGen/X86/2008-09-17-inline-asm-1.ll
test/CodeGen/X86/2008-09-18-inline-asm-2.ll
test/CodeGen/X86/2008-09-25-sseregparm-1.ll
test/CodeGen/X86/2008-09-29-VolatileBug.ll
test/CodeGen/X86/2008-10-06-x87ld-nan-1.ll
test/CodeGen/X86/2008-10-06-x87ld-nan-2.ll
test/CodeGen/X86/2008-10-07-SSEISelBug.ll
test/CodeGen/X86/2008-10-13-CoalescerBug.ll
test/CodeGen/X86/2008-10-16-VecUnaryOp.ll
test/CodeGen/X86/2008-10-17-Asm64bitRConstraint.ll
test/CodeGen/X86/2008-10-20-AsmDoubleInI32.ll
test/CodeGen/X86/2008-10-24-FlippedCompare.ll
test/CodeGen/X86/2008-10-29-ExpandVAARG.ll
test/CodeGen/X86/2008-11-03-F80VAARG.ll
test/CodeGen/X86/2008-12-02-dagcombine-1.ll
test/CodeGen/X86/2008-12-02-dagcombine-2.ll
test/CodeGen/X86/2008-12-02-dagcombine-3.ll
test/CodeGen/X86/2008-12-16-dagcombine-4.ll
test/CodeGen/X86/2008-12-22-dagcombine-5.ll
test/CodeGen/X86/2008-12-23-crazy-address.ll
test/CodeGen/X86/2008-12-23-dagcombine-6.ll
test/CodeGen/X86/2009-01-13-DoubleUpdate.ll
test/CodeGen/X86/2009-01-16-UIntToFP.ll
test/CodeGen/X86/2009-01-25-NoSSE.ll
test/CodeGen/X86/2009-01-26-WrongCheck.ll
test/CodeGen/X86/2009-01-31-BigShift.ll
test/CodeGen/X86/2009-01-31-BigShift2.ll
test/CodeGen/X86/2009-01-31-BigShift3.ll
test/CodeGen/X86/2009-02-01-LargeMask.ll
test/CodeGen/X86/2009-02-03-AnalyzedTwice.ll
test/CodeGen/X86/2009-02-08-CoalescerBug.ll
test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll
test/CodeGen/X86/2009-02-12-InlineAsm-nieZ-constraints.ll
test/CodeGen/X86/2009-02-12-SpillerBug.ll
test/CodeGen/X86/2009-02-25-CommuteBug.ll
test/CodeGen/X86/2009-02-26-MachineLICMBug.ll
test/CodeGen/X86/2009-03-03-BTHang.ll
test/CodeGen/X86/2009-03-03-BitcastLongDouble.ll
test/CodeGen/X86/2009-03-07-FPConstSelect.ll
test/CodeGen/X86/2009-03-09-APIntCrash.ll
test/CodeGen/X86/2009-03-25-TestBug.ll
test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll
test/CodeGen/X86/2009-04-12-picrel.ll
test/CodeGen/X86/2009-04-24.ll
test/CodeGen/X86/2009-04-25-CoalescerBug.ll
test/CodeGen/X86/2009-04-scale.ll
test/CodeGen/X86/2009-05-11-tailmerge-crash.ll
test/CodeGen/X86/2009-05-19-SingleElementExtractElement.ll
test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll
test/CodeGen/X86/2009-05-30-ISelBug.ll
test/CodeGen/X86/2009-06-04-VirtualLiveIn.ll
test/CodeGen/X86/2009-06-05-VZextByteShort.ll
test/CodeGen/X86/2009-06-05-sitofpCrash.ll
test/CodeGen/X86/2009-06-12-x86_64-tail-call-conv-out-of-sync-bug.ll
test/CodeGen/X86/2009-06-15-not-a-tail-call.ll
test/CodeGen/X86/2009-06-18-movlp-shuffle-register.ll
test/CodeGen/X86/2009-07-06-TwoAddrAssert.ll
test/CodeGen/X86/2009-07-07-SplitICmp.ll
test/CodeGen/X86/2009-07-09-ExtractBoolFromVector.ll
test/CodeGen/X86/2009-07-19-AsmExtraOperands.ll
test/CodeGen/X86/2009-07-20-DAGCombineBug.ll
test/CodeGen/X86/2009-08-19-LoadNarrowingMiscompile.ll
test/CodeGen/X86/2009-08-23-SubRegReuseUndo.ll
test/CodeGen/X86/20090313-signext.ll
test/CodeGen/X86/2010-01-05-ZExt-Shl.ll
test/CodeGen/X86/2010-01-15-SelectionDAGCycle.ll
test/CodeGen/X86/2010-01-18-DbgValue.ll
test/CodeGen/X86/2010-02-03-DualUndef.ll
test/CodeGen/X86/2010-02-11-NonTemporal.ll
test/CodeGen/X86/2010-02-23-DAGCombineBug.ll
test/CodeGen/X86/2010-06-14-fast-isel-fs-load.ll
test/CodeGen/X86/2010-06-28-FastAllocTiedOperand.ll
test/CodeGen/X86/2010-09-17-SideEffectsInChain.ll
test/CodeGen/X86/2010-10-08-cmpxchg8b.ll
test/CodeGen/X86/2010-11-09-MOVLPS.ll
test/CodeGen/X86/2010-11-18-SelectOfExtload.ll
test/CodeGen/X86/2011-02-21-VirtRegRewriter-KillSubReg.ll
test/CodeGen/X86/2011-03-02-DAGCombiner.ll
test/CodeGen/X86/2011-03-30-CreateFixedObjCrash.ll
test/CodeGen/X86/2011-05-09-loaduse.ll
test/CodeGen/X86/2011-06-01-fildll.ll
test/CodeGen/X86/2011-06-03-x87chain.ll
test/CodeGen/X86/2011-06-06-fgetsign80bit.ll
test/CodeGen/X86/2011-06-14-PreschedRegalias.ll
test/CodeGen/X86/2011-07-13-BadFrameIndexDisplacement.ll
test/CodeGen/X86/2011-08-23-PerformSubCombine128.ll
test/CodeGen/X86/2011-08-23-Trampoline.ll
test/CodeGen/X86/2011-08-29-BlockConstant.ll
test/CodeGen/X86/2011-09-14-valcoalesce.ll
test/CodeGen/X86/2011-09-18-sse2cmp.ll
test/CodeGen/X86/2011-09-21-setcc-bug.ll
test/CodeGen/X86/2011-10-18-FastISel-VectorParams.ll
test/CodeGen/X86/2011-10-19-LegelizeLoad.ll
test/CodeGen/X86/2011-10-27-tstore.ll
test/CodeGen/X86/2011-10-30-padd.ll
test/CodeGen/X86/2011-11-07-LegalizeBuildVector.ll
test/CodeGen/X86/2011-11-30-or.ll
test/CodeGen/X86/2011-12-06-BitcastVectorGlobal.ll
test/CodeGen/X86/2011-12-08-AVXISelBugs.ll
test/CodeGen/X86/2011-12-15-vec_shift.ll
test/CodeGen/X86/2012-01-18-vbitcast.ll
test/CodeGen/X86/2012-02-23-mmx-inlineasm.ll
test/CodeGen/X86/2012-07-10-shufnorm.ll
test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll
test/CodeGen/X86/2012-07-15-broadcastfold.ll
test/CodeGen/X86/2012-07-15-tconst_shl.ll
test/CodeGen/X86/2012-07-15-vshl.ll
test/CodeGen/X86/2012-07-16-LeaUndef.ll
test/CodeGen/X86/2012-07-16-fp2ui-i1.ll
test/CodeGen/X86/2012-07-17-vtrunc.ll
test/CodeGen/X86/2012-07-23-select_cc.ll
test/CodeGen/X86/2012-09-13-dagco-fneg.ll
test/CodeGen/X86/2012-10-18-crash-dagco.ll
test/CodeGen/X86/2012-11-28-merge-store-alias.ll
test/CodeGen/X86/2012-12-1-merge-multiple.ll
test/CodeGen/X86/2012-12-12-DAGCombineCrash.ll
test/CodeGen/X86/2012-12-14-v8fp80-crash.ll
test/CodeGen/X86/2013-05-06-ConactVectorCrash.ll
test/CodeGen/X86/2014-05-29-factorial.ll
test/CodeGen/X86/3dnow-intrinsics.ll
test/CodeGen/X86/4char-promote.ll
test/CodeGen/X86/AppendingLinkage.ll
test/CodeGen/X86/Atomics-64.ll
test/CodeGen/X86/DbgValueOtherTargets.test
test/CodeGen/X86/SwitchLowering.ll
test/CodeGen/X86/TruncAssertZext.ll
test/CodeGen/X86/abi-isel.ll
test/CodeGen/X86/add.ll
test/CodeGen/X86/add_shl_constant.ll
test/CodeGen/X86/addr-of-ret-addr.ll
test/CodeGen/X86/aligned-comm.ll
test/CodeGen/X86/alloca-align-rounding-32.ll
test/CodeGen/X86/alloca-align-rounding.ll
test/CodeGen/X86/and-su.ll
test/CodeGen/X86/andimm8.ll
test/CodeGen/X86/asm-global-imm.ll
test/CodeGen/X86/asm-modifier-P.ll
test/CodeGen/X86/atom-cmpb.ll
test/CodeGen/X86/atom-sched.ll
test/CodeGen/X86/atomic-dagsched.ll
test/CodeGen/X86/atomic-load-store-wide.ll
test/CodeGen/X86/atomic-minmax-i6432.ll
test/CodeGen/X86/atomic-or.ll
test/CodeGen/X86/atomic32.ll
test/CodeGen/X86/atomic64.ll
test/CodeGen/X86/atomic6432.ll
test/CodeGen/X86/atomic8.ll
test/CodeGen/X86/atomic_add.ll
test/CodeGen/X86/atomic_idempotent.ll
test/CodeGen/X86/atomic_op.ll
test/CodeGen/X86/avoid-loop-align-2.ll
test/CodeGen/X86/avx-minmax.ll
test/CodeGen/X86/avx512-bugfix-23634.ll
test/CodeGen/X86/avx512-build-vector.ll
test/CodeGen/X86/avx512-inc-dec.ll
test/CodeGen/X86/avx512-insert-extract.ll
test/CodeGen/X86/avx512-insert-extract_i1.ll
test/CodeGen/X86/avx512-mask-op.ll
test/CodeGen/X86/avx512-mov.ll
test/CodeGen/X86/avx512-nontemporal.ll
test/CodeGen/X86/avx512bw-mov.ll
test/CodeGen/X86/avx512bwvl-mov.ll
test/CodeGen/X86/avx512vl-mov.ll
test/CodeGen/X86/avx512vl-nontemporal.ll
test/CodeGen/X86/barrier.ll
test/CodeGen/X86/basic-promote-integers.ll
test/CodeGen/X86/bigstructret2.ll
test/CodeGen/X86/bit-test-shift.ll
test/CodeGen/X86/bitcast-int-to-vector.ll
test/CodeGen/X86/bitcast.ll
test/CodeGen/X86/bitcast2.ll
test/CodeGen/X86/branchfolding-undef.mir
test/CodeGen/X86/break-anti-dependencies.ll
test/CodeGen/X86/bss_pagealigned.ll
test/CodeGen/X86/bswap.ll
test/CodeGen/X86/byval.ll
test/CodeGen/X86/byval2.ll
test/CodeGen/X86/byval3.ll
test/CodeGen/X86/byval4.ll
test/CodeGen/X86/byval5.ll
test/CodeGen/X86/byval6.ll
test/CodeGen/X86/byval7.ll
test/CodeGen/X86/call-imm.ll
test/CodeGen/X86/catchpad-weight.ll
test/CodeGen/X86/change-compare-stride-1.ll
test/CodeGen/X86/change-compare-stride-trickiness-1.ll
test/CodeGen/X86/cmov-fp.ll
test/CodeGen/X86/cmpxchg16b.ll
test/CodeGen/X86/cmpxchg8b_alloca_regalloc_handling.ll
test/CodeGen/X86/code_placement.ll
test/CodeGen/X86/codegen-prepare-cast.ll
test/CodeGen/X86/combine-lds.ll
test/CodeGen/X86/compare-add.ll
test/CodeGen/X86/compare-inf.ll
test/CodeGen/X86/compare_folding.ll
test/CodeGen/X86/complex-fca.ll
test/CodeGen/X86/constant-hoisting-and.ll
test/CodeGen/X86/constant-hoisting-cmp.ll
test/CodeGen/X86/constant-hoisting-shift-immediate.ll
test/CodeGen/X86/constant-pool-remat-0.ll
test/CodeGen/X86/constpool.ll
test/CodeGen/X86/crash.ll
test/CodeGen/X86/cvt16.ll
test/CodeGen/X86/dag-rauw-cse.ll
test/CodeGen/X86/dbg-changes-codegen-branch-folding.ll
test/CodeGen/X86/dbg-changes-codegen.ll
test/CodeGen/X86/disable-tail-calls.ll
test/CodeGen/X86/discontiguous-loops.ll
test/CodeGen/X86/dollar-name.ll
test/CodeGen/X86/dont-trunc-store-double-to-float.ll
test/CodeGen/X86/dynamic-allocas-VLAs.ll
test/CodeGen/X86/empty-struct-return-type.ll
test/CodeGen/X86/emutls-pic.ll
test/CodeGen/X86/emutls-pie.ll
test/CodeGen/X86/emutls.ll
test/CodeGen/X86/emutls_generic.ll
test/CodeGen/X86/epilogue.ll
test/CodeGen/X86/evex-to-vex-compress.mir
test/CodeGen/X86/extend.ll
test/CodeGen/X86/extended-fma-contraction.ll
test/CodeGen/X86/extmul128.ll
test/CodeGen/X86/extmul64.ll
test/CodeGen/X86/extract-combine.ll
test/CodeGen/X86/extract-extract.ll
test/CodeGen/X86/extractelement-from-arg.ll
test/CodeGen/X86/extractps.ll
test/CodeGen/X86/fast-cc-callee-pops.ll
test/CodeGen/X86/fast-cc-merge-stack-adj.ll
test/CodeGen/X86/fast-cc-pass-in-regs.ll
test/CodeGen/X86/fast-isel-agg-constant.ll
test/CodeGen/X86/fast-isel-atomic.ll
test/CodeGen/X86/fast-isel-bail.ll
test/CodeGen/X86/fast-isel-bc.ll
test/CodeGen/X86/fast-isel-call.ll
test/CodeGen/X86/fast-isel-constant.ll
test/CodeGen/X86/fast-isel-emutls.ll
test/CodeGen/X86/fast-isel-expect.ll
test/CodeGen/X86/fast-isel-fneg.ll
test/CodeGen/X86/fast-isel-gep.ll
test/CodeGen/X86/fast-isel-tailcall.ll
test/CodeGen/X86/fast-isel-tls.ll
test/CodeGen/X86/fast-isel.ll
test/CodeGen/X86/fastcc-sret.ll
test/CodeGen/X86/fastcc3struct.ll
test/CodeGen/X86/field-extract-use-trunc.ll
test/CodeGen/X86/fildll.ll
test/CodeGen/X86/fixup-bw-inst.ll
test/CodeGen/X86/fixup-lea.ll
test/CodeGen/X86/float-conv-elim.ll
test/CodeGen/X86/floor-soft-float.ll
test/CodeGen/X86/fma-intrinsics-x86.ll
test/CodeGen/X86/fma-phi-213-to-231.ll
test/CodeGen/X86/fma4-intrinsics-x86_64-folded-load.ll
test/CodeGen/X86/fmul-combines.ll
test/CodeGen/X86/fmul-zero.ll
test/CodeGen/X86/fold-add.ll
test/CodeGen/X86/fold-and-shift.ll
test/CodeGen/X86/fold-call.ll
test/CodeGen/X86/fold-imm.ll
test/CodeGen/X86/fold-load-vec.ll
test/CodeGen/X86/fold-load.ll
test/CodeGen/X86/fold-mul-lohi.ll
test/CodeGen/X86/fold-pcmpeqd-1.ll
test/CodeGen/X86/fold-sext-trunc.ll
test/CodeGen/X86/fold-vector-sext-crash2.ll
test/CodeGen/X86/fold-vector-shl-crash.ll
test/CodeGen/X86/fp-elim.ll
test/CodeGen/X86/fp-immediate-shorten.ll
test/CodeGen/X86/fp-stack-2results.ll
test/CodeGen/X86/fp-stack-compare-cmov.ll
test/CodeGen/X86/fp-stack-compare.ll
test/CodeGen/X86/fp-stack-direct-ret.ll
test/CodeGen/X86/fp-stack-ret.ll
test/CodeGen/X86/fp-stack-retcopy.ll
test/CodeGen/X86/fp-stack-set-st1.ll
test/CodeGen/X86/fp2sint.ll
test/CodeGen/X86/fp_constant_op.ll
test/CodeGen/X86/fp_load_cast_fold.ll
test/CodeGen/X86/fp_load_fold.ll
test/CodeGen/X86/fpcmp-soft-fp.ll
test/CodeGen/X86/frameaddr.ll
test/CodeGen/X86/fsgsbase.ll
test/CodeGen/X86/fsxor-alignment.ll
test/CodeGen/X86/full-lsr.ll
test/CodeGen/X86/function-subtarget-features-2.ll
test/CodeGen/X86/function-subtarget-features.ll
test/CodeGen/X86/getelementptr.ll
test/CodeGen/X86/global-access-pie-copyrelocs.ll
test/CodeGen/X86/global-access-pie.ll
test/CodeGen/X86/h-register-addressing-32.ll
test/CodeGen/X86/h-register-addressing-64.ll
test/CodeGen/X86/h-register-store.ll
test/CodeGen/X86/h-registers-0.ll
test/CodeGen/X86/h-registers-2.ll
test/CodeGen/X86/handle-move.ll
test/CodeGen/X86/i128-and-beyond.ll
test/CodeGen/X86/i128-immediate.ll
test/CodeGen/X86/i128-mul.ll
test/CodeGen/X86/i128-sdiv.ll
test/CodeGen/X86/i16lshr8pat.ll
test/CodeGen/X86/i2k.ll
test/CodeGen/X86/i486-fence-loop.ll
test/CodeGen/X86/iabs.ll
test/CodeGen/X86/illegal-insert.ll
test/CodeGen/X86/illegal-vector-args-return.ll
test/CodeGen/X86/imul-lea-2.ll
test/CodeGen/X86/imul-lea.ll
test/CodeGen/X86/inline-asm-R-constraint.ll
test/CodeGen/X86/inline-asm-avx-v-constraint.ll
test/CodeGen/X86/inline-asm-avx512f-v-constraint.ll
test/CodeGen/X86/inline-asm-avx512vl-v-constraint.ll
test/CodeGen/X86/inline-asm-bad-constraint-n.ll
test/CodeGen/X86/inline-asm-duplicated-constraint.ll
test/CodeGen/X86/inline-asm-error.ll
test/CodeGen/X86/inline-asm-flag-clobber.ll
test/CodeGen/X86/inline-asm-modifier-n.ll
test/CodeGen/X86/inline-asm-modifier-q.ll
test/CodeGen/X86/inline-asm-mrv.ll
test/CodeGen/X86/inline-asm-q-regs.ll
test/CodeGen/X86/inline-asm-stack-realign3.ll
test/CodeGen/X86/inline-asm-x-scalar.ll
test/CodeGen/X86/inline-asm.ll
test/CodeGen/X86/inlineasm-sched-bug.ll
test/CodeGen/X86/ins_split_regalloc.ll
test/CodeGen/X86/ins_subreg_coalesce-1.ll
test/CodeGen/X86/ins_subreg_coalesce-2.ll
test/CodeGen/X86/ins_subreg_coalesce-3.ll
test/CodeGen/X86/insert-positions.ll
test/CodeGen/X86/insertelement-copytoregs.ll
test/CodeGen/X86/insertelement-legalize.ll
test/CodeGen/X86/int-intrinsic.ll
test/CodeGen/X86/invalid-liveness.mir
test/CodeGen/X86/invalid-shift-immediate.ll
test/CodeGen/X86/isel-optnone.ll
test/CodeGen/X86/isel-sink.ll
test/CodeGen/X86/isel-sink2.ll
test/CodeGen/X86/isnan.ll
test/CodeGen/X86/isnan2.ll
test/CodeGen/X86/ispositive.ll
test/CodeGen/X86/lakemont.ll
test/CodeGen/X86/large-code-model-isel.ll
test/CodeGen/X86/large-gep-chain.ll
test/CodeGen/X86/large-gep-scale.ll
test/CodeGen/X86/lea-opt-memop-check-1.ll
test/CodeGen/X86/lea-recursion.ll
test/CodeGen/X86/legalize-fmp-oeq-vector-select.ll
test/CodeGen/X86/legalize-libcalls.ll
test/CodeGen/X86/legalizedag_vec.ll
test/CodeGen/X86/licm-nested.ll
test/CodeGen/X86/limited-prec.ll
test/CodeGen/X86/live-out-reg-info.ll
test/CodeGen/X86/live-range-nosubreg.ll
test/CodeGen/X86/llc-override-mcpu-mattr.ll
test/CodeGen/X86/long-setcc.ll
test/CodeGen/X86/loop-blocks.ll
test/CodeGen/X86/loop-strength-reduce-2.ll
test/CodeGen/X86/loop-strength-reduce.ll
test/CodeGen/X86/loop-strength-reduce5.ll
test/CodeGen/X86/loop-strength-reduce6.ll
test/CodeGen/X86/loop-strength-reduce7.ll
test/CodeGen/X86/lsr-delayed-fold.ll
test/CodeGen/X86/lsr-i386.ll
test/CodeGen/X86/lsr-interesting-step.ll
test/CodeGen/X86/lsr-negative-stride.ll
test/CodeGen/X86/lsr-nonaffine.ll
test/CodeGen/X86/lsr-normalization.ll
test/CodeGen/X86/lsr-quadratic-expand.ll
test/CodeGen/X86/lsr-redundant-addressing.ll
test/CodeGen/X86/lsr-reuse.ll
test/CodeGen/X86/lsr-sort.ll
test/CodeGen/X86/lsr-static-addr.ll
test/CodeGen/X86/lsr-wrap.ll
test/CodeGen/X86/lzcnt.ll
test/CodeGen/X86/machine-copy-prop.mir
test/CodeGen/X86/masked-iv-safe.ll
test/CodeGen/X86/masked-iv-unsafe.ll
test/CodeGen/X86/maskmovdqu.ll
test/CodeGen/X86/mature-mc-support.ll
test/CodeGen/X86/mbp-false-cfg-break.ll
test/CodeGen/X86/mem-promote-integers.ll
test/CodeGen/X86/membarrier.ll
test/CodeGen/X86/memset.ll
test/CodeGen/X86/merge-consecutive-stores-i1.ll
test/CodeGen/X86/merge-store-partially-alias-loads.ll
test/CodeGen/X86/misched-code-difference-with-debug.ll
test/CodeGen/X86/misched-copy.ll
test/CodeGen/X86/misched-fusion.ll
test/CodeGen/X86/misched-matmul.ll
test/CodeGen/X86/misched-matrix.ll
test/CodeGen/X86/misched-new.ll
test/CodeGen/X86/mmx-arith.ll
test/CodeGen/X86/mmx-copy-gprs.ll
test/CodeGen/X86/mmx-intrinsics.ll
test/CodeGen/X86/mmx-only.ll
test/CodeGen/X86/movfs.ll
test/CodeGen/X86/movgs.ll
test/CodeGen/X86/ms-inline-asm.ll
test/CodeGen/X86/mul-legalize.ll
test/CodeGen/X86/mul-remat.ll
test/CodeGen/X86/mul-shift-reassoc.ll
test/CodeGen/X86/mul128_sext_loop.ll
test/CodeGen/X86/mult-alt-generic-i686.ll
test/CodeGen/X86/mult-alt-generic-x86_64.ll
test/CodeGen/X86/mult-alt-x86.ll
test/CodeGen/X86/multiple-loop-post-inc.ll
test/CodeGen/X86/multiple-return-values-cross-block.ll
test/CodeGen/X86/musttail-thiscall.ll
test/CodeGen/X86/musttail.ll
test/CodeGen/X86/narrow-shl-cst.ll
test/CodeGen/X86/narrow-shl-load.ll
test/CodeGen/X86/narrow_op-1.ll
test/CodeGen/X86/neg-shl-add.ll
test/CodeGen/X86/neg_fp.ll
test/CodeGen/X86/negate-add-zero.ll
test/CodeGen/X86/negative-stride-fptosi-user.ll
test/CodeGen/X86/negative-subscript.ll
test/CodeGen/X86/negative_zero.ll
test/CodeGen/X86/no-cmov.ll
test/CodeGen/X86/nobt.ll
test/CodeGen/X86/nocx16.ll
test/CodeGen/X86/nonconst-static-ev.ll
test/CodeGen/X86/nonconst-static-iv.ll
test/CodeGen/X86/nosse-error1.ll
test/CodeGen/X86/nosse-error2.ll
test/CodeGen/X86/nosse-varargs.ll
test/CodeGen/X86/null-streamer.ll
test/CodeGen/X86/object-size.ll
test/CodeGen/X86/opt-ext-uses.ll
test/CodeGen/X86/optimize-max-0.ll
test/CodeGen/X86/overlap-shift.ll
test/CodeGen/X86/packed_struct.ll
test/CodeGen/X86/peep-test-0.ll
test/CodeGen/X86/peep-test-1.ll
test/CodeGen/X86/peep-test-2.ll
test/CodeGen/X86/peep-test-3.ll
test/CodeGen/X86/peephole-multiple-folds.ll
test/CodeGen/X86/phi-bit-propagation.ll
test/CodeGen/X86/phi-immediate-factoring.ll
test/CodeGen/X86/phys-reg-local-regalloc.ll
test/CodeGen/X86/phys_subreg_coalesce-2.ll
test/CodeGen/X86/pmovext.ll
test/CodeGen/X86/postalloc-coalescing.ll
test/CodeGen/X86/pr10068.ll
test/CodeGen/X86/pr10523.ll
test/CodeGen/X86/pr10524.ll
test/CodeGen/X86/pr10525.ll
test/CodeGen/X86/pr10526.ll
test/CodeGen/X86/pr11468.ll
test/CodeGen/X86/pr11998.ll
test/CodeGen/X86/pr12889.ll
test/CodeGen/X86/pr13220.ll
test/CodeGen/X86/pr14562.ll
test/CodeGen/X86/pr20088.ll
test/CodeGen/X86/pr21099.ll
test/CodeGen/X86/pr2326.ll
test/CodeGen/X86/pr23273.ll
test/CodeGen/X86/pr2656.ll
test/CodeGen/X86/pr2659.ll
test/CodeGen/X86/pr26652.ll
test/CodeGen/X86/pr2982.ll
test/CodeGen/X86/pr3216.ll
test/CodeGen/X86/pr3241.ll
test/CodeGen/X86/pr3243.ll
test/CodeGen/X86/pr3244.ll
test/CodeGen/X86/pr3250.ll
test/CodeGen/X86/pr3317.ll
test/CodeGen/X86/pr3366.ll
test/CodeGen/X86/pr3522.ll
test/CodeGen/X86/pr5145.ll
test/CodeGen/X86/pr7882.ll
test/CodeGen/X86/prefetch.ll
test/CodeGen/X86/promote-trunc.ll
test/CodeGen/X86/promote.ll
test/CodeGen/X86/pshufd-combine-crash.ll
test/CodeGen/X86/rd-mod-wr-eflags.ll
test/CodeGen/X86/rdpmc.ll
test/CodeGen/X86/rdtsc.ll
test/CodeGen/X86/regpressure.ll
test/CodeGen/X86/rem_crash.ll
test/CodeGen/X86/ret-addr.ll
test/CodeGen/X86/ret-i64-0.ll
test/CodeGen/X86/rip-rel-address.ll
test/CodeGen/X86/rot16.ll
test/CodeGen/X86/rot32.ll
test/CodeGen/X86/rot64.ll
test/CodeGen/X86/rotate2.ll
test/CodeGen/X86/rrlist-livereg-corrutpion.ll
test/CodeGen/X86/scalar-extract.ll
test/CodeGen/X86/scalar_sse_minmax.ll
test/CodeGen/X86/scalar_widen_div.ll
test/CodeGen/X86/scalarize-bitcast.ll
test/CodeGen/X86/scheduler-backtracking.ll
test/CodeGen/X86/sdiv-exact.ll
test/CodeGen/X86/sdiv-pow2.ll
test/CodeGen/X86/setoeq.ll
test/CodeGen/X86/setuge.ll
test/CodeGen/X86/sext-load.ll
test/CodeGen/X86/sext-subreg.ll
test/CodeGen/X86/shift-coalesce.ll
test/CodeGen/X86/shift-i128.ll
test/CodeGen/X86/shift-i256.ll
test/CodeGen/X86/shift-one.ll
test/CodeGen/X86/shift-pair.ll
test/CodeGen/X86/shift-parts.ll
test/CodeGen/X86/shl-anyext.ll
test/CodeGen/X86/shl-i64.ll
test/CodeGen/X86/shl_elim.ll
test/CodeGen/X86/shrink-fp-const1.ll
test/CodeGen/X86/shrink-fp-const2.ll
test/CodeGen/X86/sink-hoist.ll
test/CodeGen/X86/smul-with-overflow.ll
test/CodeGen/X86/soft-fp.ll
test/CodeGen/X86/split-vector-bitcast.ll
test/CodeGen/X86/split-vector-rem.ll
test/CodeGen/X86/sse-align-1.ll
test/CodeGen/X86/sse-align-10.ll
test/CodeGen/X86/sse-align-11.ll
test/CodeGen/X86/sse-align-12.ll
test/CodeGen/X86/sse-align-2.ll
test/CodeGen/X86/sse-align-4.ll
test/CodeGen/X86/sse-align-5.ll
test/CodeGen/X86/sse-align-6.ll
test/CodeGen/X86/sse-align-8.ll
test/CodeGen/X86/sse-align-9.ll
test/CodeGen/X86/sse-load-ret.ll
test/CodeGen/X86/sse-only.ll
test/CodeGen/X86/sse-unaligned-mem-feature.ll
test/CodeGen/X86/sse-varargs.ll
test/CodeGen/X86/stack-protector-vreg-to-vreg-copy.ll
test/CodeGen/X86/store-empty-member.ll
test/CodeGen/X86/store-fp-constant.ll
test/CodeGen/X86/store-global-address.ll
test/CodeGen/X86/store-narrow.ll
test/CodeGen/X86/storetrunc-fp.ll
test/CodeGen/X86/stride-nine-with-base-reg.ll
test/CodeGen/X86/stride-reuse.ll
test/CodeGen/X86/sub.ll
test/CodeGen/X86/subreg-to-reg-0.ll
test/CodeGen/X86/subreg-to-reg-1.ll
test/CodeGen/X86/subreg-to-reg-3.ll
test/CodeGen/X86/subreg-to-reg-4.ll
test/CodeGen/X86/subreg-to-reg-6.ll
test/CodeGen/X86/switch-bt.ll
test/CodeGen/X86/switch-crit-edge-constant.ll
test/CodeGen/X86/switch-default-only.ll
test/CodeGen/X86/switch-edge-weight.ll
test/CodeGen/X86/switch-or.ll
test/CodeGen/X86/switch-zextload.ll
test/CodeGen/X86/tail-call-legality.ll
test/CodeGen/X86/tail-dup-debugloc.ll
test/CodeGen/X86/tail-opts.ll
test/CodeGen/X86/tailcall-calleesave.ll
test/CodeGen/X86/tailcall-returndup-void.ll
test/CodeGen/X86/tailcall.ll
test/CodeGen/X86/tailcallfp.ll
test/CodeGen/X86/tailcallfp2.ll
test/CodeGen/X86/tbm-intrinsics-x86_64.ll
test/CodeGen/X86/test-nofold.ll
test/CodeGen/X86/test-shrink.ll
test/CodeGen/X86/testb-je-fusion.ll
test/CodeGen/X86/tls-android-negative.ll
test/CodeGen/X86/tls-android.ll
test/CodeGen/X86/tls-local-dynamic.ll
test/CodeGen/X86/tls-models.ll
test/CodeGen/X86/tls-pic.ll
test/CodeGen/X86/tls-pie.ll
test/CodeGen/X86/tls.ll
test/CodeGen/X86/token_landingpad.ll
test/CodeGen/X86/twoaddr-coalesce-2.ll
test/CodeGen/X86/twoaddr-coalesce-3.ll
test/CodeGen/X86/twoaddr-coalesce.ll
test/CodeGen/X86/twoaddr-pass-sink.ll
test/CodeGen/X86/uint_to_fp-2.ll
test/CodeGen/X86/umul-with-carry.ll
test/CodeGen/X86/update-terminator-debugloc.ll
test/CodeGen/X86/update-terminator.mir
test/CodeGen/X86/utf8.ll
test/CodeGen/X86/v2f32.ll
test/CodeGen/X86/v4i32load-crash.ll
test/CodeGen/X86/variable-sized-darwin-bzero.ll
test/CodeGen/X86/vec_add.ll
test/CodeGen/X86/vec_anyext.ll
test/CodeGen/X86/vec_call.ll
test/CodeGen/X86/vec_compare.ll
test/CodeGen/X86/vec_ins_extract.ll
test/CodeGen/X86/vec_split.ll
test/CodeGen/X86/vec_zero-2.ll
test/CodeGen/X86/vec_zero.ll
test/CodeGen/X86/vector-intrinsics.ll
test/CodeGen/X86/vector-variable-idx.ll
test/CodeGen/X86/vector-variable-idx2.ll
test/CodeGen/X86/vector.ll
test/CodeGen/X86/vfcmp.ll
test/CodeGen/X86/volatile.ll
test/CodeGen/X86/vortex-bug.ll
test/CodeGen/X86/vshift_split.ll
test/CodeGen/X86/vshift_split2.ll
test/CodeGen/X86/weak.ll
test/CodeGen/X86/wide-fma-contraction.ll
test/CodeGen/X86/wide-integer-fold.ll
test/CodeGen/X86/widen_load-1.ll
test/CodeGen/X86/x86-64-disp.ll
test/CodeGen/X86/x86-64-double-shifts-Oz-Os-O2.ll
test/CodeGen/X86/x86-64-double-shifts-var.ll
test/CodeGen/X86/x86-64-ret0.ll
test/CodeGen/X86/x86-fold-pshufb.ll
test/CodeGen/X86/x87.ll
test/CodeGen/X86/xmm-r64.ll
test/CodeGen/X86/xtest.ll
test/CodeGen/X86/zero-remat.ll
test/CodeGen/X86/zext-inreg-0.ll
test/CodeGen/X86/zext-inreg-1.ll
test/CodeGen/X86/zlib-longest-match.ll

index cb90bf644d5f21782962a90438c297bf18d68154..8a0710865058fb4ee191b2402fdf839c5c63f17a 100644 (file)
@@ -4,7 +4,7 @@
 ; it makes a ton of annoying overlapping live ranges.  This code should not
 ; cause spills!
 ;
-; RUN: llc < %s -march=x86 -stats 2>&1 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -stats 2>&1 | FileCheck %s
 
 ; CHECK-NOT: spilled
 
index 5c40eeaa1eade43e19604bc5433a2b2a20cd23bf..db2ad18d0efb473ea17b12bfe7acd7d35b70b314 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define i32 @test() {
 entry:
index e0d4988abbf7fe3be7cebc9b346870e657775e60..16bbbce5eb7d156445d39c869cc1dc87067987ac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 @X = global i1 true
 ; CHECK-NOT: .byte true
index bd3317a68b8c734a21a3eb57efa658e770cbd49f..7fdb070081a1ee3e6eee44ac7beb3a905f532b7d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 declare i8* @llvm.returnaddress(i32)
 
index d7f7e262d89345c5d57d0208364b8da4a9346d83..aa68ade1dfe2a741ada902fbb093e20c429630a8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s | FileCheck %s
 
 target triple = "i686-unknown-unknown"
 
index dabf7d3c15b6c9ff0e601d546c830c45fbbd0081..dafc1d597625c4fd6929f7d49cd226fa8bf21d38 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 define i1 @test1(double %X) {
         %V = fcmp one double %X, 0.000000e+00           ; <i1> [#uses=1]
         ret i1 %V
index e22aa6a0939878b5dd99e425b1783a4a259d280b..aa5bf631b5220055980de83d4b9b33306ac229a8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | FileCheck %s
 ; CHECK-NOT: {{j[lgbe]}}
 
 define i32 @max(i32 %A, i32 %B) nounwind {
index f8ed016f99b690ef490623fb04eaf87b2b2ad4a1..915dc4e4160930a78c286d05cf0c832309fc3a2f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define double @test(double %d) {
         %X = select i1 false, double %d, double %d              ; <double> [#uses=1]
index 036aa6a77f407d3e64965a55372a120912c3ee22..88acc6ad9af82adec12e6bf1e9f2db0bee42bac5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define i1 @T(double %X) {
         %V = fcmp oeq double %X, %X             ; <i1> [#uses=1]
index db3af0139cee2411275cbfed7f63c07a3079775e..2bd755d979d1a4bc77c4787518a927d469f67189 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define i1 @test(i1 %C, i1 %D, i32 %X, i32 %Y) {
         %E = icmp slt i32 %X, %Y                ; <i1> [#uses=1]
index 7bb634d97130ba69f7b7517bfc6d82740c50d82f..1f9f2c6240da13c99dd55ac3a03f0eecaedfd612 100644 (file)
@@ -3,7 +3,7 @@
 ; is invalid code (there is no correct way to order the instruction).  Check
 ; that we do not fold the load into the sub.
 
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 @GLOBAL = external global i32
 
index 1e3a0937d5b1f3d56a4f2402525de9e039509a5e..16fea863b494ac2670a7c73a957cbc459f6b3780 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 @A = external global i32                ; <i32*> [#uses=1]
 @Y = global i32* getelementptr (i32, i32* @A, i32 -1)                ; <i32**> [#uses=0]
index 5266009c55a5d6e61776305b65ac83c5b90c3391..47cd0da7a4d3cd86eba3a480caecb791facb280d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=generic
+; RUN: llc < %s -mtriple=i686-- -mcpu=generic
 ; Make sure LLC doesn't crash in the stackifier due to FP PHI nodes.
 
 define void @radfg_() {
index 6963b1d92f6cca8a6ccaee3b305f0bc38b235dc7..ece16192566dd1ab532c01feead66bb2f53b883e 100644 (file)
@@ -1,5 +1,5 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -march=x86 -stats 2>&1 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -stats 2>&1 | FileCheck %s
 ; CHECK: 7 asm-printer
 
 define i32 @g(i32 %a, i32 %b) nounwind {
index 3f67097ddc0d320e8413249714c359ca34c1facb..ddcc7e2a6d15ca8f9ff0720e438814b24c858549 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah
+; RUN: llc < %s -mcpu=yonah
 ; END.
 
 target datalayout = "e-p:32:32"
index 9f44bc348e37df23df7578de2b208bfb479b48fa..c70cbd9c3e14e7c57bb5d0170627e869d4c751c6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin8 -relocation-model=static > %t
+; RUN: llc < %s -mtriple=i686-apple-darwin8 -relocation-model=static > %t
 ; RUN: grep "movl      _last" %t | count 1
 ; RUN: grep "cmpl.*_last" %t | count 1
 
index 583877e6658200f057bc8a7efd886bf1a8c47c3e..6f2fadbe8ca604df75a9d8f20ec73f46a2ae78ae 100644 (file)
@@ -1,5 +1,5 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -march=x86 -mcpu=yonah -stats 2>&1 | \
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah -stats 2>&1 | \
 ; RUN:   not grep "Number of register spills"
 ; END.
 
index 3281c68e9334e4337cf8449cd721c98ed8da5cbe..f5be3a3e2bff50b8bd61987b216280a750b31f8d 100644 (file)
@@ -1,5 +1,5 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -march=x86 -stats  2>&1 | \
+; RUN: llc < %s -mtriple=i686-- -stats  2>&1 | \
 ; RUN:   grep asm-printer | grep 13
 
 define void @_ZN9__gnu_cxx9hashtableISt4pairIKPKciES3_NS_4hashIS3_EESt10_Select1stIS5_E5eqstrSaIiEE14find_or_insertERKS5__cond_true456.i(i8* %tmp435.i, i32* %tmp449.i.out) nounwind {
index b70d375bf51ade024163d5b6e4f10c8ac5cd63fd..6c100aa92666ea74a1cfae3525317bd61a34d145 100644 (file)
@@ -1,7 +1,7 @@
 ; Coalescing from R32 to a subset R32_. Once another register coalescer bug is
 ; fixed, the movb should go away as well.
 
-; RUN: llc < %s -march=x86 -relocation-model=static | \
+; RUN: llc < %s -mtriple=i686-- -relocation-model=static | \
 ; RUN:   grep movl
 
 @B = external global i32               ; <i32*> [#uses=2]
index cd46ecfef525901275c16233922a973fff99a3b9..ffe1a9ce3e9a2a9f440e30776de5388017b4c9b0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -relocation-model=static | not grep "subl.*%esp"
+; RUN: llc < %s -mtriple=i686-- -relocation-model=static | not grep "subl.*%esp"
 
 @A = external global i16*              ; <i16**> [#uses=1]
 @B = external global i32               ; <i32*> [#uses=1]
index b1deb2c5f567df3b3f3d0f81d3c1033fa4591046..5008c122a14cc2ed45b152cfafd0fea57e112ee4 100644 (file)
@@ -1,5 +1,5 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mcpu=penryn -mattr=+sse2 -stats 2>&1 | \
+; RUN: llc < %s -mtriple=i386-linux-gnu -mcpu=penryn -mattr=+sse2 -stats 2>&1 | \
 ; RUN:     grep "asm-printer" | grep 35
 
 target datalayout = "e-p:32:32"
index b36d61e0f31b1b2691a8d35758398f0357f18c3d..7f022b6a607b73a22d2230af85b74c2fedcab641 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
 
 define <4 x float> @opRSQ(<4 x float> %a) nounwind {
 entry:
index 3be77f5c3099a91d1c8b063f7b0593dd865b6643..bea11e91669a0481cd6cda15465c5a5bc3971bae 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -mattr=-sse | FileCheck %s -check-prefix=WITHNANS
-; RUN: llc < %s -march=x86 -mattr=-sse -enable-unsafe-fp-math -enable-no-nans-fp-math | FileCheck %s -check-prefix=NONANS
+; RUN: llc < %s -mtriple=i686-- -mattr=-sse | FileCheck %s -check-prefix=WITHNANS
+; RUN: llc < %s -mtriple=i686-- -mattr=-sse -enable-unsafe-fp-math -enable-no-nans-fp-math | FileCheck %s -check-prefix=NONANS
 
 ; WITHNANS-LABEL: test:
 ; WITHNANS: setnp
index 6ff879760ea079ad6d9afda38e4791c26aa4136c..987a229d4271adc6469e9d1ad2c16d626017bc60 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define i32 @test() {
        br i1 false, label %cond_next33, label %cond_true12
index 4ea364d57e515a16d16e463325f9f1ce8635b271..1c5b9d07eeb8faa196cdce1bbfa3d7d2e67ed6f9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR825
 
 define i64 @test() {
index 568fbbcc4f4ff32c606d548a64e4b8bcd3ddc370..fe3c7cfa3d7d7cff80be49c29391f219b1c0f029 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s
 ; PR828
 
 target datalayout = "e-p:32:32"
index 795e898df347b05ba4fbb45a0e1713fdd66b4fe8..944fae68abc45f98c002335069aba5eb602aa705 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -no-integrated-as
+; RUN: llc < %s -mtriple=i686-- -no-integrated-as
 ; PR833
 
 @G = weak global i32 0         ; <i32*> [#uses=3]
index deae086cf76c77773a0cbc2d2749a8302a1128fc..1c4c6478bc8b5112a7aae646290c4112eb033fdd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep -- 4294967240
+; RUN: llc < %s -mtriple=i686-- | grep -- 4294967240
 ; PR853
 
 @X = global i32* inttoptr (i64 -56 to i32*)            ; <i32**> [#uses=0]
index 2a9c8324d36a5ed4b2b355fb8e3fb83efd1de0a3..baf4dfa2e43db3b75cb2773c4f3888a604ffae09 100644 (file)
@@ -1,5 +1,5 @@
 ; PR850
-; RUN: llc < %s -march=x86 -x86-asm-syntax=att -no-integrated-as | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=att -no-integrated-as | FileCheck %s
 
 ; CHECK: {{movl 4[(]%eax[)],%ebp}}
 ; CHECK: {{movl 0[(]%eax[)], %ebx}}
index 397bc26dbecdfd7e499b0919d56ee9dc24b4777f..66c79303fa46fb5789fc1df713c48986dc697db9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
        %struct.foo = type opaque
 
 define fastcc i32 @test(%struct.foo* %v, %struct.foo* %vi) {
index 2c44adf6829cfcc5ed03b27830efbbf7100e9212..20a0163227b827cf62ac5354e725d8810dc859ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
        %struct.expr = type { %struct.rtx_def*, i32, %struct.expr*, %struct.occr*, %struct.occr*, %struct.rtx_def* }
        %struct.hash_table = type { %struct.expr**, i32, i32, i32 }
        %struct.occr = type { %struct.occr*, %struct.rtx_def*, i8, i8 }
index 56d5f2f3040a50eba897db1f9efdb16bfa03b203..1601d684e1f63e63329accb05007428b5a8133a4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=i386 | \
+; RUN: llc < %s -mtriple=i686-- -mcpu=i386 | \
 ; RUN:    not grep "movl %eax, %edx"
 
 define i32 @foo(i32 %t, i32 %C) {
index a7a10afaae1de80c7705ab4442d4fb65f024f470..3c32e1d7c6a3fe319375f1bbee33d76c8781e1a4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin8"
        %struct.CUMULATIVE_ARGS = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
index e2c84ea569e6bb74f8bb63cfbdabfc07f1b1c317..00726f9b820aaae79999c559446418104b679f1d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define void @_ZN13QFSFileEngine4readEPcx() {
        %tmp201 = load i32, i32* null           ; <i32> [#uses=1]
index 4355825878561e45af6bafd2efde68b2fed36249..0b0fc05269d144f7349cbd7a0f69ecdc25335506 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep shrl
+; RUN: llc < %s -mtriple=i686-- | grep shrl
 ; Bug in FindModifiedNodeSlot cause tmp14 load to become a zextload and shr 31
 ; is then optimized away.
 @tree_code_type = external global [0 x i32]            ; <[0 x i32]*> [#uses=1]
index 7a32ef7801d9c2a74618c1a6637271f34588169a..8b9b91b31d2d9d7e1b78313f2c29c3b6017f5a52 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
        %struct.function = type opaque
        %struct.lang_decl = type opaque
        %struct.location_t = type { i8*, i32 }
index c45469d4e3ee3774361618ff1c29b808b1c94165..9d2ec80b7958e646398312ea23f5921cbd228c05 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 @str = external global [18 x i8]               ; <[18 x i8]*> [#uses=1]
 
 define void @test() {
index 332816e22cda26afcebad014568fea9b4ceb3eae..0e589f2f2e3900477137eb2bdc694dc3ea5acf7e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -asm-verbose | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -asm-verbose | FileCheck %s
 
 @str = internal constant [14 x i8] c"Hello world!\0A\00"               ; <[14 x i8]*> [#uses=1]
 @str.upgrd.1 = internal constant [13 x i8] c"Blah world!\0A\00"                ; <[13 x i8]*> [#uses=1]
index 9e1bf9edbbc418d2bf0634b6987466f8f8fdf174..98d627b9ffe7f56c7c06916b9e5119867b432f48 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s | FileCheck %s
 
 target triple = "i686-pc-linux-gnu"
 @str = internal constant [9 x i8] c"%f+%f*i\0A\00"              ; <[9 x i8]*> [#uses=1]
index c0bd6f72842232256162bc4e1c66d6eb09c59bc4..f110bd89a3013c6b49ecc7193376a3a761d58c20 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 > %t
+; RUN: llc < %s -mtriple=x86_64-- > %t
 ; RUN: grep movb %t | count 1
 ; RUN: grep "movzb[wl]" %t
 
index ba83a8db839962515a33ad3611a08a3582bba32a..87aba33fb7c4683ae353497752e6d2004e975607 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 ; PR1016
 
 ; CHECK: {{test.*1}}
index 080de1fb553ef2790f9f6be5ed4e48b66b923437..60bffdd908c2a2c8db67812e17a331cbbca137c3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s
 ; PR1049
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
index 2c3c5c99c1b2ca414d84f56bebb761921bf73c86..de56a5280d19caafd936a8598ae435ab54646d9d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -x86-asm-syntax=intel
+; RUN: llc < %s -x86-asm-syntax=intel
 ; PR1061
 target datalayout = "e-p:32:32"
 target triple = "i686-pc-linux-gnu"
index f83eea179d6af5db47b804c2be97ea8d793d0925..f8975e6c3b5d5ccd276adb2617db75a9c21644d9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 > %t
+; RUN: llc < %s -mtriple=x86_64-- > %t
 ; RUN: not grep ",%rsp)" %t
 ; PR1103
 
index e83e2e54e4556543db0d531057e32ba9710e1a75..f16a8783d7de29a4795ad7ecabca55edaf02491b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; Test 'ri' constraint.
 
 define void @run_init_process() {
index f05175259c80f77c90fe25c613f1b4c60b0d620c..660331cabd183389d465ed8dc45075223e730b61 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 ;; This example can't fold the or into an LEA.
 define i32 @test(float ** %tmp2, i32 %tmp12) nounwind {
index a9b85b94cd4154e6ff57b7a96611b2d1878128b6..201de30abc0b8869f03ddc8c9079b8b77323dac2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i686-pc-linux-gnu -relocation-model=pic
+; RUN: llc < %s -mtriple=i686-pc-linux-gnu -relocation-model=pic
 ; PR1027
 
        %struct._IO_FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct._IO_FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i32, i32, [40 x i8] }
index cbc1bc47fb15e6083ac8ffc85237aa14ed0f94fd..be4e16917446bdf257f11de292c2feb925426469 100644 (file)
@@ -1,5 +1,5 @@
 ; PR1219
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 define i32 @test(i1 %X) {
 ; CHECK-LABEL: test:
index 2e2b56d04a25c20c99ca71b0942c1e150e85350d..e22f0b4540db847199337213a681fbdda901e2cd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=pentium3
+; RUN: llc < %s -mtriple=i686-- -mcpu=pentium3
 
 define internal fastcc double @ggc_rlimit_bound(double %limit) {
     ret double %limit
index 645221fe299e947aab0f23dc001d345063b042e3..a9140f505c620ff5568de36e1c39e274d472f28d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i686-darwin | FileCheck %s
+; RUN: llc < %s -mtriple=i686-darwin | FileCheck %s
 
 define void @foo(i8** %buf, i32 %size, i32 %col, i8* %p) nounwind {
 entry:
index 61746814f9a0ff2826a17216bd8d82c73de56a4e..d04b0966b3a82725689ebaea2e4f6619b0b226ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 ; ModuleID = 'a.bc'
 
index 70936fbc92812cec8d824d804138baa7fd3a0ecf..4f5e0914612b35cb520267eb203064765927583d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR1259
 
 define void @test() {
index 44d68dd0493ef800582e560fcba19cfeed66a653..c7914037a00b522c29c789b025c8a191b6bf0f6f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define i32 @test(i16 %tmp40414244) {
   %tmp48 = call i32 asm sideeffect "inl ${1:w}, $0", "={ax},N{dx},~{dirflag},~{fpsr},~{flags}"( i16 %tmp40414244 )
index 93fb344cbb1de582522d88535e518735cc7a3c3e..da9a81c07395a10653c08624d690c58cf2f6cae6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -no-integrated-as | grep "mov %gs:72, %eax"
+; RUN: llc < %s -no-integrated-as | grep "mov %gs:72, %eax"
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin9"
 
index 6cf8bf90611c644bab3bcdb485747a859757d4c2..5713804aa03297275e8b74955df04ac151ba4c1f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=yonah -march=x86 -no-integrated-as | FileCheck %s
+; RUN: llc < %s -mcpu=yonah -no-integrated-as | FileCheck %s
 
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin9"
index 3e1786bef7932f051ffcd3d1e707214a38d540a5..9b9d819c1efb5afebb15d7a06b47d9d35fcc3aab 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s | FileCheck %s
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin9"
 
index 9a3d4cb3bee78f32534c7c857636bcfbd70fb428..52001f5c21dc1055c4bd64f92cd66ce04476e976 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 @data = external global [339 x i64]
 
index f48c13259c423e9aa18ded0a2f6572a1889f369a..5bf669bb1967f1b8796d3d101e2566c4c6992e74 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah
+; RUN: llc < %s -mcpu=yonah
 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 = "i686-apple-darwin8"
 
index 648718cc7223d87328ff96f8c70fc6c41afe04fc..b6074053d454a81390fc7a7d9bd79b50ad2ad01b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 ; PR1348
 
 ; CHECK-NOT: 4294967112
index 0edf1398295dee641a0ef063cdf75b40f97e4cab..19b9224cdc07956e3e86790ddf4e00a8bd5e5a02 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=i386 -mattr=+sse
+; RUN: llc < %s -mtriple=i686-- -mcpu=i386 -mattr=+sse
 ; PR1371
 
 @str = external global [18 x i8]               ; <[18 x i8]*> [#uses=1]
index 9ce5f5ac63a12a3962d8d8d23ce5f7fb82e2a200..24044e7ebb94788685371cf4890f7a85166aff2d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 
        %struct.XDesc = type <{ i32, %struct.OpaqueXDataStorageType** }>
        %struct.OpaqueXDataStorageType = type opaque
index 38fc5e18fe284179105f23f26b4efc151cefa09c..d5b5fa200dadc474dd996c57785007faac759bbb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | FileCheck %s
 
 ; CHECK-NOT: punpckhwd
 
index 9d42c49317fdd6a4433c1b873e5fc4221644109f..6b300d12b322d54d05853067209ce72311cb73c9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+sse2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2
 
 define void @test() {
        %tmp1 = call <8 x i16> @llvm.x86.sse2.pmins.w( <8 x i16> zeroinitializer, <8 x i16> bitcast (<4 x i32> < i32 7, i32 7, i32 7, i32 7 > to <8 x i16>) )
index d2d6388c0782774086c94e6537b60d3976b51870..dc74352988f406faae7b95e515fadaa1d7d820bf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
 
 define void @test() {
 entry:
index 87edab77ac1966944213f25eb3e0aa7c3bd551fc..bd8917cd76376179d51558a1a879707b781b2ac8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
 
 define void @test(<4 x float>* %arg) {
        %tmp89 = getelementptr <4 x float>, <4 x float>* %arg, i64 3
index 4f7ae327d1fdd712da71088144133fe1ca08e905..ac3dd78160ca16f27979e69a689073f63f10c965 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 ; CHECK-NOT: movl
 
index 85a144083ecebff6750c58eec8ed537ee723a7cf..a798839fdb90d95cf31f20ffe4ce25b9ab47eeb2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep "movsbl"
+; RUN: llc < %s -mtriple=i686-- | grep "movsbl"
 
 @X = global i32 0               ; <i32*> [#uses=1]
 
index 7eb018ce525f99a2fc02c9b210f154c201910cb6..bcffac2cdd4ce3f622d55650514e3b71b00c7a4e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep pushf
+; RUN: llc < %s -mtriple=i686-- | not grep pushf
 
        %struct.gl_texture_image = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8*, i8* }
        %struct.gl_texture_object = type { i32, i32, i32, float, [4 x i32], i32, i32, i32, i32, i32, float, [11 x %struct.gl_texture_image*], [1024 x i8], i32, i32, i32, i8, i8*, i8, void (%struct.gl_texture_object*, i32, float*, float*, float*, float*, i8*, i8*, i8*, i8*)*, %struct.gl_texture_object* }
index c535392ffdfc0dcdba9a23a707eefe2b1b7801dd..6658536bd34fd7e17955de575be6b1cf97c7971b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep movb
+; RUN: llc < %s -mtriple=i686-- | not grep movb
 
 define signext i16 @f(i32* %bp, i32* %ss)   {
 entry:
index c4d5cb970c3fbd16eaf2df4a77263cb1a083ba09..14cff04e1e1aa616baa6d1098a38a1708b70349a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | grep addss | not grep esp
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | grep addss | not grep esp
 
 define fastcc void @fht(float* %fz, i16 signext  %n) {
 entry:
index 4b1c1d77f7a09acd711d421fbcb5e73b4b535a7e..2601b4d4c53bae6b32739628d466af5609011b57 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=corei7 | grep sarl | not grep esp
+; RUN: llc < %s -mtriple=i686-- -mcpu=corei7 | grep sarl | not grep esp
 
 define signext   i16 @t(i16* %qmatrix, i16* %dct, i16* %acBaseTable, i16* %acExtTable, i16 signext  %acBaseRes, i16 signext  %acMaskRes, i16 signext  %acExtRes, i32* %bitptr, i32* %source, i32 %markerPrefix, i8** %byteptr, i32 %scale, i32 %round, i32 %bits) {
 entry:
index 30e1f575caf0b0322ca858513e4eabdc99244498..a1bc764e22ec5b4b5c8d23bfecf36632da57503e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -x86-asm-syntax=intel | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel | FileCheck %s
 
 ; CHECK: inc
 ; CHECK-NOT: PTR
index 9f57df87fe48570dd64f4279754c392be4cca713..f338ff065ab1916d26f11e489eb956efb8062026 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep mov | count 1
+; RUN: llc < %s -mtriple=i686-- | grep mov | count 1
 
 define signext i16 @t()   {
 entry:
index d945d57fad7c353f371b6d85482957e0943eef4a..10cb826944b123bececc493e40451ed933f9c2ad 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define i32 @unique(i8* %full, i32 %p, i32 %len, i32 %mode, i32 %verbos, i32 %flags) {
 entry:
index 3d52b6cf7b3e40c2a69119cd6f2bdd3fa0ff0835..2a562458e855eea1864f3b5b472b49c133a67253 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=sse2
+; RUN: llc < %s -mattr=sse2
 ; ModuleID = 'yyy.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-f80:128:128"
 target triple = "i686-apple-darwin8"
index 019c6a8cc0d905dbc29fd364bac006bee0c63e43..d0c7a62590261c336eb4172d71e51235b2985909 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
         %"struct.K::JL" = type <{ i8 }>
         %struct.jv = type { i64 }
index d88b45f68390343786b8902d1ef402ec2bb4f02f..3894029e59258fac17d37fa28fcb5afecb4ee691 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=generic -mattr=+sse2 | not grep lea
+; RUN: llc < %s -mtriple=i686-- -mcpu=generic -mattr=+sse2 | not grep lea
 
 define float @foo(i32* %x, float* %y, i32 %c) nounwind {
 entry:
index 06e0a779be1b66e3f5fc1b46745151995bce84c4..9ecf0680f0d34d045ea3b90629e7610d99788050 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep imul
+; RUN: llc < %s -mtriple=i686-- | not grep imul
 
        %struct.eebb = type { %struct.eebb*, i16* }
        %struct.hf = type { %struct.hf*, i16*, i8*, i32, i32, %struct.eebb*, i32, i32, i8*, i8*, i8*, i8*, i16*, i8*, i16*, %struct.ri, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [30 x i32], %struct.eebb, i32, i8* }
index 8e315f4d80ff426b2a0697ae012c802a04f7e949..1f8d829383cf6c459778dbd823ba7fc80c59188a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | FileCheck %s
 ; Increment in loop bb.i28.i adjusted to 2, to prevent loop reversal from
 ; kicking in.
 
index 26d18273dd47e838a6b18077c94f1a2d7b8e5c10..35aa016ec58b9ad10cb63f49b57e82c6447e3d6c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=generic | grep "(%esp)" | count 2
+; RUN: llc < %s -mtriple=i686-- -mcpu=generic | grep "(%esp)" | count 2
 ; PR1872
 
        %struct.c34007g__designated___XUB = type { i32, i32, i32, i32 }
index fa71bffaf8c64f14b04eb0804c21bab42d3dfad9..2246c989409674c46012d5b3de34b85e7cd2f7b9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+cmov -x86-cmov-converter=false | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+cmov -x86-cmov-converter=false | FileCheck %s
 ;
 ; Test scheduling a multi-use compare. We should neither spill flags
 ; nor clone the compare.
index 6e98f9cb219a3ffd49d14162e7b9ce43f2c7a754..eb8439fc1795e4da91f53946bc6f04ecebb3e536 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 -regalloc=fast -optimize-regalloc=0
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 -regalloc=fast -optimize-regalloc=0
 
 define void @SolveCubic(double %a, double %b, double %c, double %d, i32* %solutions, double* %x) {
 entry:
index ffc5a1fb6d4162bbf18c05099381dc2f036548fd..a08fc1cbd052fdd3a707063081fb59fd991eed40 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep IMPLICIT_DEF
+; RUN: llc < %s -mtriple=i686-- | not grep IMPLICIT_DEF
 
        %struct.node_t = type { double*, %struct.node_t*, %struct.node_t**, double**, double*, i32, i32 }
 
index ce233a9a554a616bcf8acc8f59e883a587dff647..a74e7fc6aa41443585c6d89ae70d5b4c7f3c5227 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR1975
 
 @nodes = external global i64           ; <i64*> [#uses=2]
index 2b4d68ce5df73181e6e1443ee688771101aa192e..ba80086a151013712d8b7eeed8789ef56a2a5c02 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | FileCheck %s
 
 ; CHECK: xorps {{.*}}{{LCPI0_0|__xmm@}}
 define void @casin({ double, double }* sret  %agg.result, double %z.0, double %z.1) nounwind  {
index ef69bd01cb963ff5a9f77b36536f80e832eac17c..9f11ecd8bb029a5745fa671a7de69af5339b383b 100644 (file)
@@ -1,5 +1,5 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -march=x86 -mcpu=yonah -stats 2>&1 | grep "Number of block tails merged" | grep 16
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah -stats 2>&1 | grep "Number of block tails merged" | grep 16
 ; PR1909
 
 @.str = internal constant [48 x i8] c"transformed bounds: (%.2f, %.2f), (%.2f, %.2f)\0A\00"            ; <[48 x i8]*> [#uses=1]
index 75f88b0e3811876f837b8776859355b20fb4ad63..77ed1857e6c7b300c48625df2731bfe01c3a1834 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -regalloc=fast -optimize-regalloc=0 -march=x86 -mattr=+mmx | grep esi
+; RUN: llc < %s -regalloc=fast -optimize-regalloc=0 -mtriple=i686-- -mattr=+mmx | grep esi
 ; PR2082
 ; Local register allocator was refusing to use ESI, EDI, and EBP so it ran out of
 ; registers.
index 382fbed9b88e8036668d49c8b85dea65041213ca..7614b40cf9a40e6233abe849de828f34794df490 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 
        %struct.XX = type <{ i8 }>
        %struct.YY = type { i64 }
index 11b55a6e5ac74519a578faa308d9bbc5fe921cb1..2589dbcbbf5005b4914b880c96f4053622a9e4e5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -no-integrated-as
+; RUN: llc < %s -no-integrated-as
 
 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-f80:32:32"
 target triple = "i386-pc-linux-gnu"
index 857e6237d14f317f864ad1b67bfff0e470eb9f56..de13ebf8b6663fd28e371019fad947dc4878791b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
        %struct.CompAtom = type <{ %struct.Position, float, i32 }>
        %struct.Lattice = type { %struct.Position, %struct.Position, %struct.Position, %struct.Position, %struct.Position, %struct.Position, %struct.Position, i32, i32, i32 }
index d842967561abde463e0dd8e8a6691e1e3173c3bf..a257bf072277d170ca1eecdc72a500b3cdb4e4f6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
 
 define i64 @__divsc3(float %a, float %b, float %c, float %d) nounwind readnone  {
 entry:
index 70a83b5c9f57b43692bc1ff60745ada704baca25..498d6baa8581cc9e4f5a550db2044c7c71f7f089 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=i386
+; RUN: llc < %s -mtriple=i686-- -mcpu=i386
 ; PR2122
 define float @func(float %a, float %b) nounwind  {
 entry:
index 409bcd51a13b0b53dd0f1e429c7503c52421d3dc..e17e963ecc9058edb2b48911417b8464df5e55b0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=i386 | not grep 255
+; RUN: llc < %s -mtriple=i686-- -mcpu=i386 | not grep 255
 
        %struct.CONSTRAINT = type { i32, i32, i32, i32 }
        %struct.FIRST_UNION = type { %struct.anon }
index 19d49b21f5bb8e508d179579648fb27176909185..4c14024223f8139d92a4a44a99b1e7c2464efdaf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define signext i16 @t(i32 %depth)  nounwind  {
 entry:
index eaa883c963f2b4b5350ca5d1b17cfd5eed1cfd26..163b250c6929f2d0c5c28d84c684fc0901b61b9d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define i32 @t() nounwind  {
 entry:
index 2d868e0f612a610c02d17713e03db231356e19d8..c7ba60a71742591b61f098c5d4c1ba116f06a5a0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
 
 define void @t() {
 entry:
index f21a6f37f4b52156dbfcd9af4e6ced1bb2444653..55050706115dbfea9511522dc4cc27b4f95419e8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep jmp
+; RUN: llc < %s -mtriple=i686-- | not grep jmp
 
        %struct..0anon = type { i32 }
        %struct.binding_level = type { %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.binding_level*, i8, i8, i8, i8, i8, i32, %struct.tree_node* }
index 1488034f2eb91be91e2773030983d68899e599f6..b2106873af4ae905b10a9218b29c245afed3338a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define void @Hubba(i8* %saveunder, i32 %firstBlob, i32 %select) nounwind  {
 entry:
index 6389267aa4e889a327e960965bdb198159d9ba5a..cd0f3a385685247e0f7336d04a6dc01f3f89eb98 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep 120
+; RUN: llc < %s -mtriple=i686-- | not grep 120
 ; Don't accidentally add the offset twice for trailing bytes.
 
        %struct.S63 = type { [63 x i8] }
index 6e8e98d865bd225fa6f6adba52b2d35ef2a9f23a..f819a4cd1396465feb2539727b9c4417446bbf27 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define i64 @t(i64 %maxIdleDuration) nounwind  {
        call void asm sideeffect "wrmsr", "{cx},A,~{dirflag},~{fpsr},~{flags}"( i32 416, i64 0 ) nounwind 
index 4160b203e36b304786a4206ca26ce4f3c6efadb8..42ccb21faf1c4f47574380d945edd6277b17969b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -enable-unsafe-fp-math -march=x86 | grep jp
+; RUN: llc < %s -enable-unsafe-fp-math -mtriple=i686-- | grep jp
 ; rdar://5902801
 
 declare void @test2()
index 8ed1b2a759b8d78a9ea5c8c91f4fa272eb2536e7..d1e458e38378ac03c1badedb9f0b1f26fb5c0330 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
        %struct.V = type { <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x i32>, float*, float*, float*, float*, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, i32, i32, i32, i32, i32, i32, i32, i32 }
 
index 0e4ef1c3260a189e075ef136c2d37bc4ccee8e01..19faab66fa33c4a40d513f01986fe3a83dc45561 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
 
 define fastcc void @glgVectorFloatConversion() nounwind  {
        %tmp12745 = load <4 x float>, <4 x float>* null, align 16               ; <<4 x float>> [#uses=1]
index c6709a86d85b2196f145659d83e450c6b593734e..4dc6c4e49172550a1b6ae1cffbbb214b34a447ac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -O0 -fast-isel=false -optimize-regalloc -regalloc=basic | grep mov | count 5
+; RUN: llc < %s -mtriple=i686-- -O0 -fast-isel=false -optimize-regalloc -regalloc=basic | grep mov | count 5
 ; PR2343
 
        %llvm.dbg.anchor.type = type { i32, i32 }
index a91a422f55d1d70f9810cd5814ebcff68618cae0..9c3ab06d8cab0163b81c885aa4c957204a8a29d6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=penryn | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=penryn | FileCheck %s
 
 define void @a(<4 x float>* %x) nounwind  {
 entry:
index 581fae2690214d5cd9756ddb7fc23b6185701a2f..e2b2af2ebb0c86a87fce82fdadd42dd60144a089 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -fixup-byte-word-insts=0 | FileCheck %s -check-prefix=CHECK -check-prefix=BWOFF
-; RUN: llc < %s -march=x86 -fixup-byte-word-insts=1 | FileCheck %s -check-prefix=CHECK -check-prefix=BWON
+; RUN: llc < %s -mtriple=i686-- -fixup-byte-word-insts=0 | FileCheck %s -check-prefix=CHECK -check-prefix=BWOFF
+; RUN: llc < %s -mtriple=i686-- -fixup-byte-word-insts=1 | FileCheck %s -check-prefix=CHECK -check-prefix=BWON
 ; These transforms are turned off for load volatiles and stores.
 ; Check that they weren't turned off for all loads and stores!
 ; CHECK-LABEL: f:
index 72d190758f8d9b393df9b14ddafe69757652aeb9..7836316b0adef7926123d27f58154b22fd185c98 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | not grep pslldq
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | not grep pslldq
 
 define void @t() nounwind  {
 entry:
index ff2b05fb08ebd837c72c242fd7349cc53a7317c1..ef15946039216da6ef847d410ab9b2dd266adf88 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -o - | not grep shr
+; RUN: llc < %s -mtriple=x86_64-- -o - | not grep shr
 define i128 @sl(i128 %x) {
         %t = shl i128 %x, 1
         ret i128 %t
index 719baf5cc945aa632b0f4107420b939b5c25c275..1d142e05b18cfb794ec66f37ca39381b39cfb1aa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
 ; PR2566
 
 @0 = external global i16               ; <i16*>:0 [#uses=1]
index 684ca5c89fd2e0818b5d34eb43ea36b0b6eb970d..e0b7c004fc2aa5874e1b2da0abedcc7c5fe932b6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=pentium
+; RUN: llc < %s -mtriple=i686-- -mcpu=pentium
 ; PR2575
 
 define void @entry(i32 %m_task_id, i32 %start_x, i32 %end_x) nounwind  {
index a030fbeed513fbf64cee483a230d5927aa5f3a41..1b6bd7ec0a4f7a4a0597d8833d2785871f3f29b4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s -o - | grep "cmpl        \$[1], %"
+; RUN: llc -mtriple=x86_64-- < %s -o - | grep "cmpl    \$[1], %"
 
 @.str = internal constant [4 x i8] c"%d\0A\00"
 
index f9c5467713fc918877d68fd833577387640a5e1a..201be38d24eeeafc2cb09c44041417c62ed4caa1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR2596
 
 @data = external global [400 x i64]            ; <[400 x i64]*> [#uses=5]
index 53402c04511cf7968246abb28e30b1ea96637c22..703fba5247ae6e91924fcd23aa72a46dd5fbb680 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 
        %struct.DrawHelper = type { void (i32, %struct.QT_FT_Span*, i8*)*, void (i32, %struct.QT_FT_Span*, i8*)*, void (%struct.QRasterBuffer*, i32, i32, i32, i8*, i32, i32, i32)*, void (%struct.QRasterBuffer*, i32, i32, i32, i8*, i32, i32, i32)*, void (%struct.QRasterBuffer*, i32, i32, i32, i32, i32)* }
        %struct.QBasicAtomic = type { i32 }
index 84d373d70a2dc025ac370927b2ac57711066f01f..34a5d9999a6bdad61446f739e103ee363fdc68a1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2,+mmx | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2,+mmx | FileCheck %s
 ; originally from PR2687, but things don't work that way any more.
 ; there are no MMX instructions here; we use XMM.
 
index 8c46bb3ec8b7ae05b25cde9aea373ac3f507c973..1822dbebb12b19e1290778d8bee886400a346eda 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR2783
 
 @g_15 = external global i16            ; <i16*> [#uses=2]
index a9875521fb186169ac067be3d993873e6f50e75c..4d35d65431ab3f8dbad2c901d6c24cb031b34f96 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; RUN: llc -pre-RA-sched=source < %s -mtriple=i686-unknown-linux -mcpu=corei7 | FileCheck %s --check-prefix=SOURCE-SCHED
 ; PR2748
 
index 3edd72bdba9027645a5f23f3dbe00e5bb826bc7a..1ba17254c3c3cba672748876c2be22e1eede2d20 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
-; RUN: llc < %s -march=x86 -regalloc=fast -optimize-regalloc=0 | FileCheck %s
+; RUN: llc < %s | FileCheck %s
+; RUN: llc < %s -regalloc=fast -optimize-regalloc=0 | FileCheck %s
 
 ; %0 must not be put in EAX or EDX.
 ; In the first asm, $0 and $2 must not be put in EAX.
index 0058d979a2fa053bd95a559cb78180179196fa68..51f2dfbfdb58239a55f146dd323d1e7393d3c5db 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86 -regalloc=fast -optimize-regalloc=0 -no-integrated-as | FileCheck %s
-; RUN: llc < %s -march=x86 -regalloc=basic -no-integrated-as      | FileCheck %s
-; RUN: llc < %s -march=x86 -regalloc=greedy -no-integrated-as     | FileCheck %s
+; RUN: llc < %s -regalloc=fast -optimize-regalloc=0 -no-integrated-as | FileCheck %s
+; RUN: llc < %s -regalloc=basic -no-integrated-as      | FileCheck %s
+; RUN: llc < %s -regalloc=greedy -no-integrated-as     | FileCheck %s
 
 ; The 1st, 2nd, 3rd and 5th registers must all be different.  The registers
 ; referenced in the 4th and 6th operands must not be the same as the 1st or 5th
index fc3e35ed1f9bafcbd86eddc3c1bcfe38f0466892..9373c798619965571bd567214672aaa8e1acbe2f 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | grep movs | count 2
-; RUN: llc < %s -march=x86 -mattr=+sse2 | grep fld | count 2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | grep movs | count 2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | grep fld | count 2
 ; check 'inreg' attribute for sse_regparm
 
 define inreg double @foo1()  nounwind {
index 6ee8cf2f5e3310aac74163149138af052b6cca75..c90afa07dd7312a84b73a3e23e9c3378d2ab7f1a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep movz
+; RUN: llc < %s -mtriple=i686-- | not grep movz
 ; PR2835
 
 @g_407 = internal global i32 0         ; <i32*> [#uses=1]
index a135cd49787613657d385cfb02c7e60d760c61b9..6a78a37c9b2075999e733816923171d906c69f94 100644 (file)
@@ -1,7 +1,7 @@
 ; ModuleID = 'nan.bc'
 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-f80:32:32-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-apple-darwin8"
-; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3,-sse | grep fldl
+; RUN: llc < %s -mattr=-sse2,-sse3,-sse | grep fldl
 ; This NaN should be shortened to a double (not a float).
 
 declare x86_stdcallcc void @_D3nan5printFeZv(x86_fp80 %f)
index 34c9857b00eaaf65633127ea68a1b9320b1b62ad..e659eea4cfbbc0bdbcf8fcc4ec1b817cdd7e8727 100644 (file)
@@ -1,7 +1,7 @@
 ; ModuleID = 'nan.bc'
 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-f80:32:32-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-apple-darwin8"
-; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3,-sse | grep fldt | count 3
+; RUN: llc < %s -mattr=-sse2,-sse3,-sse | grep fldt | count 3
 ; it is not safe to shorten any of these NaNs.
 
 declare x86_stdcallcc void @_D3nan5printFeZv(x86_fp80 %f)
index 26e802ac05f90dcd8bbbf52c628ece048ec3edd7..258c999d3f383e48cbd372528d61cbe689861697 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse,-sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse,-sse2
 
 define <4 x float> @f(float %w) nounwind {
 entry:
index c285ae4fdd28d9abac85f3fcce7eddf35cb73426..b8f2c1f47b0b69886a4947ba7d0fa39adcffa66b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR2775
 
 define i32 @func_77(i8 zeroext %p_79) nounwind {
index ac6fa0dc9b2612902907a98c32f19d4a1ff0722d..fef7d7de0d7f81c9e0bcbe3e0fbb2800a178a9f7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
 ; PR2762
 define void @foo(<4 x i32>* %p, <4 x double>* %q) {
   %n = load <4 x i32>, <4 x i32>* %p
index 2b2f704349b6743f5cb14cc827109b78da9b4d74..29ed15fbd179d4faa5668b5c9f7440c826291ab9 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -no-integrated-as
-; RUN: llc < %s -march=x86-64 -no-integrated-as
+; RUN: llc < %s -mtriple=i686-- -no-integrated-as
+; RUN: llc < %s -mtriple=x86_64-- -no-integrated-as
 
 define void @test(i64 %x) nounwind {
 entry:
index e23dfe5a6a1d0d588a4a763dd0ce22d2409ac305..45d702ec368a6d55d90da8d62374f4038f5235bf 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -no-integrated-as
-; RUN: llc < %s -march=x86-64 -no-integrated-as
+; RUN: llc < %s -mtriple=i686-- -no-integrated-as
+; RUN: llc < %s -mtriple=x86_64-- -no-integrated-as
 
 ; from gcc.c-torture/compile/920520-1.c
 
index e504bc3e776c531925c8b400301ed03ce8f12ad3..6c29bfaf33f85572274337661726448a08632148 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 -o - | not grep "ucomiss[^,]*esp"
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 -o - | not grep "ucomiss[^,]*esp"
 
 define void @f(float %wt) {
 entry:
index 7ad94f149e1fd2230d789b208df05b912a4ae633..6a89fbd0485926da98833495c09268b34bf67881 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR2977
 define i8* @ap_php_conv_p2(){
 entry:
index 97c046c864261c150ee20a3e31533bde8217faaa..331b9dba9849793be4045377b4fca79d0bb00a41 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -o - | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -o - | FileCheck %s
 
 declare void @llvm.va_start(i8*) nounwind
 
index 004adc08091ee78e131462b1bebbf770ad5d5c89..3c7227c87ddc7c0b52a04d72972ddb14667dca15 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep "(%esp)" | count 2
+; RUN: llc < %s | grep "(%esp)" | count 2
 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-f80:128:128"
 target triple = "i386-apple-darwin9.5"
 ; a - a should be found and removed, leaving refs to only L and P
index 6622bc26692b4fc1ad20c08d7836aaa148690e24..42846f05e266303a12d8bf5da488a18086e4b7fe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep "(%esp)" | count 2
+; RUN: llc < %s | grep "(%esp)" | count 2
 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-f80:128:128"
 target triple = "i386-apple-darwin9.5"
 ; a - a should be found and removed, leaving refs to only L and P
index d5a676a7dbba60bd0d5c4ac2024975b267cc11ea..013732315bec6e6d737f3742cab3f0c4f9b52ade 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 | grep add | count 2
-; RUN: llc < %s -march=x86 | grep sub | grep -v subsections | count 1
+; RUN: llc < %s | grep add | count 2
+; RUN: llc < %s | grep sub | grep -v subsections | count 1
 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-f80:128:128"
 target triple = "i386-apple-darwin9.5"
 ; this should be rearranged to have two +s and one -
index 3080d08557274e6bbfac41ca552c231c87cdceb1..76141825ded969d836271125ccc68c7301f34804 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep "(%esp)" | count 2
+; RUN: llc < %s | grep "(%esp)" | count 2
 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-f80:128:128"
 target triple = "i386-apple-darwin9.5"
 ; a - a should be found and removed, leaving refs to only L and P
index 75773e0959c27cae1f88b5f5395a9754c7f73ccb..884afae92d1b75513fcbddf9fcf4812a9567ad7f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep "(%esp)" | count 2
+; RUN: llc < %s | grep "(%esp)" | count 2
 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-f80:128:128"
 target triple = "i386-apple-darwin9.5"
 ; -(-a) - a should be found and removed, leaving refs to only L and P
index b80f4731f8abe5012051bce9bbb193e515e9f541..902b3afcf29eb200d04c1df9bc025d377a975b5f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -relocation-model=static | grep "lea.*X.*esp" | count 2
+; RUN: llc < %s -mtriple=i686-- -relocation-model=static | grep "lea.*X.*esp" | count 2
 
 @X = external global [0 x i32]
 
index bae928336baaa82b8d5b66a266aa2b47886ec314..1f588934b4c936677ae03a20c830dc1337e72aec 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep "(%esp)" | count 4
+; RUN: llc < %s | grep "(%esp)" | count 4
 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-f80:128:128"
 target triple = "i386-apple-darwin9.5"
 ; a - a should be found and removed, leaving refs to only L and P
index 4feb764bec6b1ca5a923aff6376d74bfb0e131e5..e8dd814b2167341a34194a742513468192e9e2cc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 -enable-legalize-types-checking
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 -enable-legalize-types-checking
 
 declare <2 x double> @llvm.x86.sse2.min.pd(<2 x double>, <2 x double>) nounwind readnone
 
index 2eab5f1773ac4560fe9ad88a063d4d1e57fcdcab..bc7df2a6032313841b314efbe87b59498ef193cd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %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-f80:128:128"
 target triple = "i386-apple-darwin8"
 
index c655f2c374ac9feb6808eca207ad6eead354a508..58bce75fc7380fd53f56e628a6b152d2638bd01d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=-sse,-sse2 | FileCheck %s
+; RUN: llc < %s -mattr=-sse,-sse2 | FileCheck %s
 ; PR3402
 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
index 117ff47657f4c279652e6309149b9b768d6a0acc..39ebec5b866fd968b03753e58cd8c708a36895cb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -enable-legalize-types-checking
+; RUN: llc < %s -mtriple=i686-- -enable-legalize-types-checking
 ; PR3393
 
 define void @foo(i32 inreg %x) {
index 4eb0ec1485b75919f3221fca9ea9802b60a98376..158839743d79635000bbd5938f9837141458d06a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep and
+; RUN: llc < %s -mtriple=i686-- | not grep and
 ; PR3401
 
 define void @x(i288 %i) nounwind {
index 90d14e7b707de51df8e0a61b5e3055e46f7f0fc6..a6209280e4b721dfd8466560b45bc490ccf5ffc8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep "mov.*56"
+; RUN: llc < %s -mtriple=i686-- | grep "mov.*56"
 ; PR3449
 
 define void @test(<8 x double>* %P, i64* %Q) nounwind {
index 1b531e370437be1295ab2fac633960860040132d..5d0405106ebbd51af847d3f2023b6c387aa39fc7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s
 ; PR3450
 
 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-f80:128:128"
index e91208d5b3a1d74fd7fa4952dd0250088a40ba64..5084f6fe85a69d5731225065397f8e47a6115ac3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s
 ; PR3453
 
 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-f80:32:32"
index 592a7e33b1960e540db357374f1f1864e0dd7d94..a18275a8fc8fdd43b837c36367e92bd895a9f5f5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s
 ; PR3411
 
 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-f80:32:32"
index 908cc08991d89bdabdb60ecb649294e22dce7e22..c1a7823ad45deef61398a7d53ce8d192f64d64dd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR3486
 
 define i32 @foo(i8 signext %p_26) nounwind {
index 8edaf3f1fa348b096a650d4be242d0f8df398406..d144bfaab6626bb27a9ee5743038b32ed78e89dd 100644 (file)
@@ -1,8 +1,7 @@
-; RUN: llc < %s
-; RUN: llc < %s -stack-symbol-ordering=0 -march=x86-64 -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mtriple=i386-apple-darwin9
+; RUN: llc < %s -mtriple=x86_64-apple-darwin9 -stack-symbol-ordering=0 -verify-machineinstrs | FileCheck %s
 ; PR3538
 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-f80:128:128"
-target triple = "i386-apple-darwin9"
 define signext i8 @foo(i8* %s1) nounwind ssp {
 
 ; Make sure we generate:
index 5004f04bf8fdaf70f177acb52fb9b4ac83eb063d..5aef1f69f1ad992eb0f8234cc910bc0d16f7a631 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -no-integrated-as | FileCheck %s
+; RUN: llc < %s -no-integrated-as | FileCheck %s
 
 ; ModuleID = 'shant.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-f80:128:128"
index 4f8a5e7b3e30f67f90785d2c5b0848e653e9189d..acf2f6d65122d861425bddd57a4f9a432a636019 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i386-apple-darwin8
+; RUN: llc < %s -mtriple=i386-apple-darwin8
 ; PR3561
 
 define hidden void @__mulxc3({ x86_fp80, x86_fp80 }* noalias nocapture sret %agg.result, x86_fp80 %a, x86_fp80 %b, x86_fp80 %c, x86_fp80 %d) nounwind {
index 5bec179534b957acd6645f6d9cd72b3aa8b531f1..d555f127375a4a246e4dca911ba3c73980f560c9 100644 (file)
@@ -1,5 +1,5 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -march=x86 -mattr=+sse2 -stats 2>&1 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 -stats 2>&1 | FileCheck %s
 ; rdar://6608609
 
 ; CHECK-NOT: commuted
index 89cb71a52c04678331f94f5a956cc4f57d56502f..0b392232b8d923736b3ed72340c2cf443fd61ce4 100644 (file)
@@ -1,6 +1,6 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -march=x86-64 -mattr=+sse3,+sse4.1 -mcpu=penryn -stats 2>&1 | grep "9 machinelicm"
-; RUN: llc < %s -march=x86-64 -mattr=+sse3,+sse4.1 -mcpu=penryn | FileCheck %s
+; RUN: llc < %s -mattr=+sse3,+sse4.1 -mcpu=penryn -stats 2>&1 | grep "9 machinelicm"
+; RUN: llc < %s -mattr=+sse3,+sse4.1 -mcpu=penryn | FileCheck %s
 ; rdar://6627786
 ; rdar://7792037
 
index d6d24cda295f174cb3fd1b4a1cf79fcf72a81de0..12e667e0b25b802eaaeae604199c808e5080a09e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; rdar://6642541
 
        %struct.HandleBlock = type { [30 x i32], [990 x i8*], %struct.HandleBlockTrailer }
index 9deecebe94535c4f3826c79240fc3cda882d0114..3dff4f7bfc9f6ceac64433f2882405d34e35f338 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR3686
 ; rdar://6661799
 
index 39caddcf9342f5f8db9aa5b1719af283bb163f5a..298b81b90e46e30046c0cbc2fbe884d764a54c38 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah | not grep xmm
+; RUN: llc < %s -mcpu=yonah | not grep xmm
 ; This should do a single load into the fp stack for the return, not diddle with xmm registers.
 
 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-f80:128:128"
index 3bff7dc765612390625e2fd1d9867f23d9d3601c..1c4d71e38a954f6b43b75e56f5edcc1e188f5b30 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 ; PR3763
        %struct.__block_descriptor = type { i64, i64 }
 
index 367a6d2a3b8475e11e6484d06e55042c411cb3e5..7293511eda4aa46253a4b2c18eaf1cd562e15288 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 ; rdar://6661955
 
 ; CHECK-NOT: and
index f4864793ba2f33325df8384bc1a6d42b04eb53dd..eb37665a41e00ce69b58df65afc82c83a7c027d8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
 
 define double @t(double %x) nounwind ssp noimplicitfloat {
 entry:
index 037dee95717f2c2cfc032d6e0f05ad52337708d7..697f14e223c9b5df227683b3877ecc944c14d9be 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -march=x86-64 -relocation-model=static -code-model=small > %t
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -relocation-model=static -code-model=small > %t
 ; RUN: grep leaq %t | count 1
 
 @dst = external global [131072 x i32]
index 7647dcc7febdb2da1dad0793160d9121b6b89802..2f4cc588ccd3234416fe8f6a0858aaa84601567b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu -regalloc=fast -optimize-regalloc=0 -relocation-model=pic | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux-gnu -regalloc=fast -optimize-regalloc=0 -relocation-model=pic | FileCheck %s
 ; PR4004
 
 ; CHECK: {{leaq.*TLSGD}}
index 151f0ffc751aa14a3fe0204cbed88ed9a8ed8ce1..f6b5ecef6e3bec0868cfa7dbe977ce8289f49545 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep mov | count 1
+; RUN: llc < %s -mtriple=x86_64-- | grep mov | count 1
 ; rdar://6806252
 
 define i64 @test(i32* %tmp13) nounwind {
index 1fc5f2b234fefd16763e9f9487cdae35e7dd5520..4238d6eb0614b88d6639d41306e193bdaed4d306 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i386-unknown-linux-gnu
+; RUN: llc < %s -mtriple=i386-unknown-linux-gnu
 ; PR3995
 
         %struct.vtable = type { i32 (...)** }
index e9d15583e562faad97ec82f8087cf25ae2ec5cb6..a7d9aea74c67851685c0423dc68eb24816d838db 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s
 ; PR4188
 ; 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-f80:128:128"
index 89cd24d7dcfe3249bc8ba7cf972e8abe71446bea..b2786ab6167e0c803211cfdbaa1a31104ea9a0c9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 ; PR3886
 
 define i32 @main(i32 %argc, i8** nocapture %argv) nounwind {
index 019d5dfb1fea2e720fe9813a115b9a5c4132e0a3..80aafb2dba82aa4a7b0bb9efd41404428977419e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 
 define fastcc void @S_next_symbol(i448* %P) nounwind ssp {
 entry:
index e01fe9f893084b1b7bce28a8e6d4f3596a772a30..5aa8fe804945ea4591502b5681b57da0e6f7441f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | not grep "movzbl       %[abcd]h,"
+; RUN: llc < %s -mtriple=x86_64-- | not grep "movzbl   %[abcd]h,"
 
 define void @BZ2_bzDecompress_bb5_2E_outer_bb35_2E_i_bb54_2E_i(i32*, i32 %c_nblock_used.2.i, i32 %.reload51, i32* %.out, i32* %.out1, i32* %.out2, i32* %.out3) nounwind {
 newFuncRoot:
index 29795492d89c72519356e30af881413300812c52..baa99f15183b15cec22865ca79cf8d5dca2afe4f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
        %0 = type { %struct.GAP }               ; type %0
        %1 = type { i16, i8, i8 }               ; type %1
index 9c7eb6d633dbef855e2e4a9c01e9b54e14d91db2..d1d05a1900157e8bda7f0469b2af6e0089e02f8d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=core2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=core2 | FileCheck %s
 
 define <4 x i16> @a(i32* %x1) nounwind {
 ; CHECK-LABEL: a:
index e361804d61ba7fff4b21664497e6400d698e1c56..bc19edd23da871125cf9915a47cc3f28b233d7c9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse
 ; PR2598
 
 define <2 x float> @a(<2 x i32> %i) nounwind {
index 673e936e217888009caa6bd7c3f59ae2bd549aa5..5989e69bdc6666f2a621ca51d4b51f3f2d3b913e 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -tailcallopt -march=x86-64 -mattr=+sse2 -mtriple=x86_64-apple-darwin | grep fstpt
-; RUN: llc < %s -tailcallopt -march=x86-64 -mattr=+sse2 -mtriple=x86_64-apple-darwin | grep xmm
+; RUN: llc < %s -tailcallopt -mattr=+sse2 -mtriple=x86_64-apple-darwin | grep fstpt
+; RUN: llc < %s -tailcallopt -mattr=+sse2 -mtriple=x86_64-apple-darwin | grep xmm
 
 ; Check that x86-64 tail calls support x86_fp80 and v2f32 types. (Tail call
 ; calling convention out of sync with standard c calling convention on x86_64)
index feb578098caee65994a2925ddeda0e4930c4bea8..a927b87cb866be2377734f7fea00e8f4608a2492 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -tailcallopt | not grep TAILCALL 
+; RUN: llc < %s -mtriple=i686-- -tailcallopt | not grep TAILCALL
 
 ; Bug 4396. This tail call can NOT be optimized.
 
index 4c4552da16a53f9cbc1f05754371a388936815e8..7cb1b1e95de4e6b167c86c2b17945a0b0572175b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse,-sse2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse,-sse2 | FileCheck %s
 ; PR2484
 
 define <4 x float> @f4523(<4 x float> %a,<4 x float> %b) nounwind {
index fcc71aef23aedb290137d26afd524a433531da8c..494423d230233f1d5fb54a5e49d0097acb3e834d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=x86_64-unknown-freebsd7.2
+; RUN: llc < %s -mtriple=x86_64-unknown-freebsd7.2
 ; PR4478
 
        %struct.sockaddr = type <{ i8, i8, [14 x i8] }>
index 366985678e54dd88a6bba0b045974662dc011ef4..bf683ba159f51a9bcdf99c329aab3ea5ed53e9f7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define void @test2(<2 x i32> %A, <2 x i32> %B, <2 x i32>* %C) nounwind {
        %D = icmp sgt <2 x i32> %A, %B
index 0fdfdcb8a30af39dc044569f1bedf04e654edc5b..5614a9d4aa5f2b34cb90cb256ef4059973d7bd08 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR3037
 
 define void @entry(<4 x i8>* %dest) {
index a0095ab2064c4cd9b06e148894ca6d264cc41fec..2f5c898ce2217b2102ddf08b47867c53d46b924f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 ; PR4583
 
 define i32 @atomic_cmpset_long(i64* %dst, i64 %exp, i64 %src) nounwind ssp noredzone noimplicitfloat {
index 045e89e1585660e073f5098bf80359c1589ba22a..258ff35d30f1c4a5f62e570cbf0154eadbc01e4a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 @bsBuff = internal global i32 0                ; <i32*> [#uses=1]
 @llvm.used = appending global [1 x i8*] [i8* bitcast (i32 ()* @bsGetUInt32 to i8*)], section "llvm.metadata"           ; <[1 x i8*]*> [#uses=0]
index 5926ab4b5c7240edc831d4c8dab5447ecc728a52..058ffcf152e1119f9a17a760e9820a85680f524d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i386-pc-linux | FileCheck %s
+; RUN: llc < %s -mtriple=i386-pc-linux | FileCheck %s
 
 @a = external global i96, align 4
 @b = external global i64, align 8
index 45e770f8121b59c9ba045402a7c1bb594d609863..0169de758008bee3a38b840efe89380cf6f4bbb1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR4753
 
 ; This function has a sub-register reuse undone.
index 3ea13164112eeb638001fca22e1d92d782a66b85..4162ee66838a9eb7cb29188d794aebb48852140c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -relocation-model=pic > %t
+; RUN: llc < %s -mtriple=x86_64-- -relocation-model=pic > %t
 ; RUN: grep "movswl    %ax, %edi" %t
 ; RUN: grep "movw      (%rax), %ax" %t
 ; XFAIL: *
index e7004e28752e0861590866df99358af0aecf5203..73b9179919a926762e09ac6786998a344e20b496 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s
 ; <rdar://problem/7499313>
-target triple = "i686-apple-darwin8"
+target triple = "x86_64-apple-darwin8"
 
 declare void @func2(i16 zeroext)
 
index 6aba39e04bca4bd78732bb756a34d1ecbfc648d3..759bbcef709a1615ab8874d1884f57fd77eb5dd0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index ae60d57bbf49ba47729fcb587a4d512fa7885ffc..60f441cff723f64a10e58b070f88dc7e296de9a4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -O0 < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s
+; RUN: llc -mtriple=i686-- -O0 < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s
 
 ; CHECK-LABEL: .debug_info contents:
 
index d116ecc6bde832ae8ff8f2500887f77f641a416f..d8616f06c61d7dcf2fa10967deb1cafbaae39e2b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 ; PR6086
 define fastcc void @prepOutput() nounwind {
 bb:                                               ; preds = %output.exit
index 5d74db1160c518397a7c9b5886356e5968bdef3f..4734b3695cf7fbd51d2019b53d33afc241734cc8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s | FileCheck %s
 ; CHECK: movnt
 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index a8c87fa2074ac1e6a1a5836c906abd4f1afedad4..f3847124614669c4e51f85b8eae53400ec2f3a5c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 define i32* @t() nounwind optsize ssp {
 entry:
index 5a4b389acb3d9902468d6bb0a033ee9e607c15b5..8805402b2228b3ffde9961481db913788d61cd47 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -fast-isel -march=x86 < %s | FileCheck %s
+; RUN: llc -fast-isel -mtriple=i686-- < %s | FileCheck %s
 ; CHECK: %fs:
 
 define i32 @test1(i32 addrspace(257)* %arg) nounwind {
index 7cffdc545e0221e5bcaac0b0ee8b43f41645f33c..96ceb1985810edf28d01016982b1216ad17b1a55 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -O0 -no-integrated-as | FileCheck %s
+; RUN: llc < %s -O0 -no-integrated-as | FileCheck %s
 ; PR7509
 target triple = "i386-apple-darwin10"
 %asmtype = type { i32, i8*, i32, i32 }
index 54a7763eb696feaa6cc3bead9e9601712fd45d88..9e33d2bf6ac65e1362590aefe8b2453f110f0661 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=core2 | FileCheck %s
+; RUN: llc < %s -mcpu=core2 | 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-apple-darwin10.4"
index ee50cb13e63449bed91df859f05ee4bee7b3eb79..153b6dc4e02bcc302fae612dbeca9aeafcba1e61 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i386-apple-darwin | FileCheck %s
+; RUN: llc < %s -mtriple=i386-apple-darwin | FileCheck %s
 ; PR8297
 ;
 ; On i386, i64 cmpxchg is lowered during legalize types to extract the
index 4b937333c8e9a9762b572c33d9ffa34122410569..6e2e3aed08751590c01f27e92a179be51c32c10c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -O0
+; RUN: llc < %s -O0
 ; PR8211
 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-unknown-linux-gnu"
index 331e83bb5067e7de51b73829ad443c1e2a01b95d..1764922dfd2639c5425398a2e80747ebf3783c4c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+cmov | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+cmov | FileCheck %s
 ; Both values were being zero extended.
 @u = external global i8
 @s = external global i8
index 7821f0537e7090a3fe86048c576d1347266c267f..dc7f613880bf23b26ce067a3f8fdd50387c8ae0b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O2 -march=x86 -mtriple=i386-pc-linux-gnu -relocation-model=pic | FileCheck %s
+; RUN: llc < %s -O2 -mtriple=i386-pc-linux-gnu -relocation-model=pic | FileCheck %s
 ; PR9237: Assertion in VirtRegRewriter.cpp, ResurrectConfirmedKill
 ;         `KillOps[*SR] == KillOp && "invalid subreg kill flags"'
 
index d25fbf7b71f12319492d1d34b497a9b9d85f29e2..9ee19a7a0a93c2a788ad4a1765659c37379d894d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-apple-darwin11.0.0"
index 38a9b3d4f5cc1ac97a04e4136c22f5e7b4362263..f829c05fc56edfa880a92218519d27ee05099166 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 ; rdar://7983260
 
index a94a9812431ed14f471889763e2f03e381e4ed1c..2212c5dc86e893ad2a8a243fb2b5bd6cc76d7bde 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=corei7 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=corei7 | FileCheck %s
 
 ;CHECK-LABEL: test:
 ;CHECK-NOT: pshufd
index 30c743441c364873155e87c432cd662d3ed876c6..54aa71c8ee93dc7e37919ef2973371d92db72102 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %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-f80:128:128-n8:16:32"
 target triple = "i386-apple-macosx10.6.6"
index c78e8e38a567609df23304ed117a04d4f153b937..7ab93ff5fd685725da98f0f33c10028551dc1f44 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=generic -march=x86 -mattr=+sse | FileCheck %s
+; RUN: llc < %s -mcpu=generic -mtriple=i686-- -mattr=+sse | FileCheck %s
 
 define float @chainfail1(i64* nocapture %a, i64* nocapture %b, i32 %x, i32 %y, float* nocapture %f) nounwind uwtable noinline ssp {
 entry:
index d93414890570575a46fd3b5290968c58e567adc9..2899b8b51ef741180673480271b293d066c911c7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s
+; RUN: llc -mtriple=x86_64-- < %s
 define i32 @signbitl(x86_fp80 %x) nounwind uwtable readnone {
 entry:
   %tmp4 = bitcast x86_fp80 %x to i80
index c9b3df83613d03b5759db1d63ab463c655626278..3ac21048dce675789b30d0272c502c2347018f25 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -stress-sched | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -stress-sched | FileCheck %s
 ; REQUIRES: asserts
 ; Test interference between physreg aliases during preRAsched.
 ; mul wants an operand in AL, but call clobbers it.
index f38ebf1da85a27cee67f4b8689309df307023853..f1b1a7077bd68ee0167d8662bd95df784c4e1fe5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s -disable-fp-elim | FileCheck %s
+; RUN: llc -mtriple=x86_64-- < %s -disable-fp-elim | FileCheck %s
 
 ; This test is checking that we don't crash and we don't incorrectly fold
 ; a large displacement and a frame index into a single lea.
index 12171ac8b679e0d1b8a0a5d3435ef6eab6c27423..3740c05ecb014e95bf4645af2568e16e9009e180 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 -O2 < %s
+; RUN: llc -mtriple=x86_64-- -O2 < %s
 
 define void @test(i64 %add127.tr.i2686) {
 entry:
index 7a5a0f81490f0845a49ab28f9fa18a72f65d2d2b..3fd0936dd197bab2ec2020f0ff63f66b4b6fe047 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=i686--
+; RUN: llc < %s -mtriple=x86_64--
 
        %struct.FRAME.gnat__perfect_hash_generators__select_char_position__build_identical_keys_sets = type { i32, i32, void (i32, i32)*, i8 (i32, i32)* }
 
index 83e4bcc6093b101b74e5cd015f44afc1d94b105c..f98b19fe52ac7f22740ec2b8c8029425f87e3d32 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s | FileCheck %s
+; RUN: llc < %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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-unknown-linux-gnu"
index 812628bf0e70b5c8dae35d3dc538dcb3cfd53b9b..28802fce5da465e8d8429e31f1bb6bdc9072453b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -disable-block-placement | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -disable-block-placement | FileCheck %s
 ;
 ; Test RegistersDefinedFromSameValue. We have multiple copies of the same vreg:
 ; while.body85.i:
index 89de648ca966ee8d4ba18449069e0450310b260f..7c75feb9375a7ac47ef9a50267433dc7fd567c25 100644 (file)
@@ -1,4 +1,4 @@
-;RUN: llc < %s -march=x86 -mcpu=yonah -mattr=+sse2,-sse4.1 | FileCheck %s
+;RUN: llc < %s -mtriple=i686-- -mcpu=yonah -mattr=+sse2,-sse4.1 | FileCheck %s
 
 ;CHECK: @max
 ;CHECK: cmplepd
index e61715a4813d2db05c30939da5ac01db5ddf9a26..235d5f04f05acc759717c28e35d3324a6ec23fd1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 -mattr=+sse4.1
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7 -mattr=+sse4.1
 
 ; Make sure we are not crashing on this code.
 
index c9dc050d0b4e4f0c82e2987e67638a7338071870..0cfe89ce7eb25c1995742709867ad0e02db47772 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -fast-isel -mattr=+sse < %s | FileCheck %s
+; RUN: llc -fast-isel -mattr=+sse < %s | FileCheck %s
 ; <rdar://problem/10215997>
 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-f80:128:128-n8:16:32-S128"
 target triple = "i386-apple-macosx10.7"
index bf1f029847eaa8b99831081f78ec024ebbabf060..2ae3d389d055bde8b7f421a10fccf6bbbb49a647 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 | FileCheck %s
+; RUN: llc < %s -mcpu=corei7 | FileCheck %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i8:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
index 290b4d0cb00bc5731a311dfffea772d3e61834eb..295e00932753ef37ecf13eb262763d0924ad649a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 | FileCheck %s
+; RUN: llc < %s -mcpu=corei7 | FileCheck %s
 
 target triple = "x86_64-unknown-linux-gnu"
 
index 1b8c12bc8e38145323e44d08a4941213a7cf8a37..655b6f3c20747dc301f422844d066adcf21afe86 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=corei7 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=corei7 | FileCheck %s
 
 ;CHECK-LABEL: addXX_test:
 ;CHECK: padd
index d3164707a35d736445d49e2bf7c114788c0f8414..2f085300202b8537d646c14bb1b9b9f52396efb6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+avx | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+avx | FileCheck %s
 
 ; We don't really care what this outputs; just make sure it's somewhat sane.
 ; CHECK: legalize_test
index 5c324a423923eb058957d24046c16752b4cd9750..48cd86bfb23b7f53764d0218e78d93ccfd22361b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 | FileCheck %s
+; RUN: llc < %s -mcpu=corei7 | FileCheck %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-f80:128:128-n8:16:32"
 target triple = "x86_64-apple-macosx10.6.6"
index 7a4126f4ae2adee2de3c5aa1fd37fcc9cf8e9a5e..4ea59bb4c5052e30d4c2081cbdbf139c55e1c171 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 ; PR11495
 
 ; CHECK: 1311768467463790320
index ab1b46c99d976201e30a06b866a40d0109692c02..f8b6f3705d9651c09334f545dc50c5ab29892e65 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7-avx -mattr=+avx
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7-avx -mattr=+avx
 ; Various missing patterns causing crashes.
 ; rdar://10538793
 
index 70783509bb7fde397945d538e6b818bb805fdda1..c6454530b8ac0cd3077a345340dce21dfe4bb179 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc -march=x86-64 -mattr=+sse4.1 -mcpu=penryn < %s | FileCheck %s -check-prefix=CHECK-W-SSE4
-; RUN: llc -march=x86-64 -mattr=-sse4.1 -mcpu=penryn < %s | FileCheck %s -check-prefix=CHECK-WO-SSE4
+; RUN: llc -mattr=+sse4.1 -mcpu=penryn < %s | FileCheck %s -check-prefix=CHECK-W-SSE4
+; RUN: llc -mattr=-sse4.1 -mcpu=penryn < %s | FileCheck %s -check-prefix=CHECK-WO-SSE4
 ; Test case for r146671
 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.7"
index 9eb59e41ef7de29486a8cd3795dadc9f4d8b956a..647f15730c564a8a7b8bba02fdbb6fbb2ef14b67 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 -mtriple=x86_64-pc-win32 | FileCheck %s
+; RUN: llc < %s -mcpu=corei7 -mtriple=x86_64-pc-win32 | FileCheck %s
 
 ;CHECK-LABEL: vcast:
 define <2 x i32> @vcast(<2 x float> %a, <2 x float> %b) {
index a55c77bd2266104e91abc5baff398fef4ac84043..790bc1f329f1e76001601a4fcf2f3d74640ef748 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -mcpu=i686 -mattr=+mmx < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- -mcpu=i686 -mattr=+mmx < %s | FileCheck %s
 ; <rdar://problem/10106006>
 
 define void @func() nounwind ssp {
index e39df58877f62de6a68a8067f4f7723ac7252dae..9ce9d14f42efb2af78cc7bb02e8c34498132812d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=corei7 -mattr=+avx | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=corei7 -mattr=+avx | FileCheck %s
 
 ; CHECK: ocl
 define void @ocl() {
index 078f1b05c3fc696ee9f4cdad5f107cc68a2aa700..2d72d2b2575c185d3b751ee4cf9690ca091acff7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=corei7
+; RUN: llc < %s -mtriple=i686-- -mcpu=corei7
 ; We don't care about the output, just that it doesn't crash
 
 define <1 x i1> @buildvec_promote() {
index 7c8c2f28348a1b4618ecf2f12bad9d8762123df3..d3106c10e88a8675a1eac59c30f079e14d0d8669 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=corei7 -mattr=+avx2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=corei7 -mattr=+avx2 | FileCheck %s
 
 declare x86_fastcallcc i64 @barrier()
 
index 46eca7644ebb0ff890da7cdded3a8039a2b2b7b0..0ac26c3b402ffe8b499bc0b4fdeb8b34c6b72cda 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 -mattr=+avx2
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7 -mattr=+avx2
 ; make sure that we are not crashing.
 
 define <16 x i32> @autogen_SD34717() {
index cd0fef469e6a740e578659fb5d9d8f794b5618d0..b8b6f06bc0b0bc5f069ba2528ba4ca1aa7a1a207 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=corei7 -mattr=+avx
+; RUN: llc < %s -mtriple=i686-- -mcpu=corei7 -mattr=+avx
 ; PR13352
 
 declare <8 x float> @llvm.x86.avx.blendv.ps.256(<8 x float>, <8 x float>, <8 x float>) nounwind readnone
index 9e5cbd2f33738b2ce8085bfccb15f1050e361637..194d9e63b9fd51897bff3b6269236fdedddf1bdb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7
 
 define void @autogen_SD2543() {
 A:
index 17533a1e1649dfa3ceac52166b3394662ff06b5b..7e78d70921f9b96bcc209bf392b698ccf8b426d2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7
 
 define void @autogen_SD3100() {
 BB:
index 2de2f97d7d2d4fe9cfa7bc0bf7073898465af770..764ccfe66e86bbb0082fc494a935f7c7f5b09d88 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7
 
 define void @autogen_SD33189483() {
 BB:
index 33fcb120e16234aacf810dbe7ab17e6aa535ce86..1838dc97dda3d720e1dbc6072d18a3338aa95fe2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7
+; RUN: llc < %s -mcpu=corei7
 
 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
index 7b9bab97be6f6894ab815ddae023dfac8715d010..010f0934b4ae8e6227f29823c3fe61e052d1bea1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 -mcpu=corei7 < %s | FileCheck %s
+; RUN: llc -mcpu=corei7 < %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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.8.0"
index fb29241035ef2d62a5e792554ccddae3131ff062..8b1fd74dba1e551c735648624d069ef827f0321a 100644 (file)
@@ -1,9 +1,9 @@
-; RUN: llc -march=x86-64 -mcpu=corei7 -disable-cgp-select2branch < %s
+; RUN: llc -mcpu=corei7 -disable-cgp-select2branch < %s
 
 ; We should not crash on this test.
 
 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-f80:128:128-n8:16:32"
-target triple = "i386-apple-darwin9.0.0"
+target triple = "x86_64-apple-darwin9.0.0"
 
 @global = external constant [411 x i8], align 1
 
index 2e8206a75916304efd823a2b4bc4d3e44d979ac5..2bd755328ade120d8f5387820299192e5c43f6a9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 -mtriple=x86_64-pc-win64 | FileCheck %s
+; RUN: llc < %s -mcpu=corei7 -mtriple=x86_64-pc-win64 | FileCheck %s
 
 ; CHECK: merge_stores_can
 ; CHECK: callq foo
index 9be8b5bbb4275be1f7003cb5ee0f7df9d01a8603..887ac838cd8fe976b7235520cba8293aef4273e1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 -mtriple=x86_64-pc-win64 | FileCheck %s
+; RUN: llc < %s -mcpu=corei7 -mtriple=x86_64-pc-win64 | FileCheck %s
 
 ; CHECK: multiple_stores_on_chain
 ; CHECK: movabsq
index 8cef2c8201c67326c49a24a3469d78786f9ad1a3..8420d8871feb5a593a8e040f9c60298292ecb4e3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -mtriple=i686-apple-ios -mcpu=yonah < %s
+; RUN: llc -mtriple=i686-apple-ios -mcpu=yonah < %s
 ; rdar://12868039
 
 define void @t() nounwind ssp {
index c465527bd867debd461284efeb023dac1ecddf59..e9daa39c5ee8fdf8f5bbdb2e1ce34ad59f51b4d9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=corei7 -mtriple=i686-pc-win32
+; RUN: llc < %s -mcpu=corei7 -mtriple=i686-pc-win32
 
 ; Make sure we don't crash on this testcase.
 
index 920341799d63b1c0b2365518b2833003acf28a3f..55b8a9956d24fa8c2bdc882a5956f745c114fb27 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s
 
 ; Make sure this doesn't crash
 
index 987a21d34eabd75297be7b75f5393aa03bb76f22..6d7bc3918f2a85e7406cb7d0a932cf42550287bb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 ; CHECK: decq [[X:%rdi|%rcx]]
 ; CHECK-NOT: testq [[X]], [[X]]
 
index fe8b95ec4655bb794042eb5380a2690add4c1605..6817df4b1d1d92d80c3d5e2c55d02882d17935a3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+3dnow | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+3dnow | FileCheck %s
 
 define <8 x i8> @test_pavgusb(x86_mmx %a.coerce, x86_mmx %b.coerce) nounwind readnone {
 ; CHECK: pavgusb
index 4f1a859fd436b32cfa87995d33a8d86cd436d2bd..bfe025eaa9145801f6c44401a96981aed8119b49 100644 (file)
@@ -1,5 +1,5 @@
 ; A test for checking PR 9623
-; RUN: llc -march=x86-64 -mcpu=corei7 < %s | FileCheck %s
+; RUN: llc -mcpu=corei7 < %s | FileCheck %s
 
 target triple = "x86_64-apple-darwin"
 
index 1a49287d1b383d5cfb9d3dc6b8983f593dfc3b6d..5ab49a28e96d8d3b459e34e309f3d615f6313e79 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llc < %s -march=x86 2>&1 | FileCheck %s
+; RUN: not llc < %s -mtriple=i686-- 2>&1 | FileCheck %s
 
 ; CHECK: unknown special variable
 @foo = appending constant [1 x i32 ]zeroinitializer
index 6d367a71d015e732db805d76df3456f493aeb3aa..b5748730548e3dd911d496dc588d57aa57917d5e 100644 (file)
@@ -1,7 +1,6 @@
-; RUN: llc < %s -march=x86-64 > %t.x86-64
-; RUN: llc < %s -march=x86 -mattr=cx16 > %t.x86
+; RUN: llc < %s -mtriple=x86_64-apple-darwin8 > %t.x86-64
+; RUN: llc < %s -mtriple=i686-apple-darwin8 -mattr=cx16 > %t.x86
 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
-target triple = "x86_64-apple-darwin8"
 
 @sc = common global i8 0
 @uc = common global i8 0
index 7b4d431c93b1be9c34743d339ec21c618ae8b988..02f56823fd1d679725fa5db8e92266e053a877b7 100644 (file)
@@ -1,2 +1,2 @@
-RUN: llc -O0 -march=x86 -asm-verbose < %S/../Inputs/DbgValueOtherTargets.ll | FileCheck %S/../Inputs/DbgValueOtherTargets.ll
-RUN: llc -O0 -march=x86-64 -asm-verbose < %S/../Inputs/DbgValueOtherTargets.ll | FileCheck %S/../Inputs/DbgValueOtherTargets.ll
+RUN: llc -O0 -mtriple=i686-- -asm-verbose < %S/../Inputs/DbgValueOtherTargets.ll | FileCheck %S/../Inputs/DbgValueOtherTargets.ll
+RUN: llc -O0 -mtriple=x86_64-- -asm-verbose < %S/../Inputs/DbgValueOtherTargets.ll | FileCheck %S/../Inputs/DbgValueOtherTargets.ll
index 5f17d9d857262abe7e30fd2187128498b54f40ba..6ee5152c040fed97a82bbfe716f8f23aa859b01e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep cmp | count 1
+; RUN: llc < %s -mtriple=i686-- | grep cmp | count 1
 ; PR964
 
 define i8* @FindChar(i8* %CurPtr) {
index 8c664127f92abaa5f627ad527232a21448810144..3d92cb045ae76dee3aa03db98d23e8b879feed71 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O2 -march=x86-64 | FileCheck %s
+; RUN: llc < %s -O2 -mtriple=x86_64-- | FileCheck %s
 ; Checks that a zeroing mov is inserted for the trunc/zext pair even when
 ; the source of the zext is an AssertSext node
 ; PR20494
index 742041a974b3ea60cc232e02317c015adcfbf3e6..47f95fde57ba75416e6ee2146dd316b9d53392ca 100644 (file)
@@ -1,16 +1,16 @@
-; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-unknown-linux-gnu -march=x86 -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-32-STATIC
-; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-unknown-linux-gnu -march=x86 -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-32-PIC
+; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-unknown-linux-gnu -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-32-STATIC
+; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-unknown-linux-gnu -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-32-PIC
 
-; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=x86_64-unknown-linux-gnu -march=x86-64 -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-64-STATIC
-; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=x86_64-unknown-linux-gnu -march=x86-64 -relocation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-64-PIC
+; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=x86_64-unknown-linux-gnu -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-64-STATIC
+; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=x86_64-unknown-linux-gnu -relocation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=LINUX-64-PIC
 
-; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-apple-darwin -march=x86 -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-32-STATIC
-; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-apple-darwin9 -march=x86 -relocation-model=dynamic-no-pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-32-DYNAMIC
-; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-apple-darwin9 -march=x86 -relocation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-32-PIC
+; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-apple-darwin -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-32-STATIC
+; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-apple-darwin9 -relocation-model=dynamic-no-pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-32-DYNAMIC
+; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=i686-apple-darwin9 -relocation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-32-PIC
 
-; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=x86_64-apple-darwin -march=x86-64 -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-64-STATIC
-; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=x86_64-apple-darwin -march=x86-64 -relocation-model=dynamic-no-pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-64-DYNAMIC
-; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=x86_64-apple-darwin -march=x86-64 -relocation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-64-PIC
+; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=x86_64-apple-darwin -relocation-model=static -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-64-STATIC
+; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=x86_64-apple-darwin -relocation-model=dynamic-no-pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-64-DYNAMIC
+; RUN: llc < %s -asm-verbose=0 -mcpu=generic -mtriple=x86_64-apple-darwin -relocation-model=pic -code-model=small -pre-RA-sched=list-ilp | FileCheck %s -check-prefix=DARWIN-64-PIC
 
 @src = external global [131072 x i32]
 @dst = external global [131072 x i32]
index df1bc9b6ee7ef044bacb9a70b8f23de1ba7e3bda..fcdf15f797692785fef47d3a39bb0dc9ff48c585 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=generic -march=x86 | FileCheck %s -check-prefix=X32
+; RUN: llc < %s -mcpu=generic -mtriple=i686-- | FileCheck %s -check-prefix=X32
 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux | FileCheck %s -check-prefix=X64
 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-win32 | FileCheck %s -check-prefix=X64
 
index 33074e4780e6721984569fd583c2508aa8b7733d..b783a51c2eef77b6537f16c237963ff10b56534b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 -mtriple=x86_64-apple-darwin < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-apple-darwin < %s | FileCheck %s
 
 ; CHECK-LABEL: add_shl_add_constant_1_i32
 ; CHECK: leal 984(%rsi,%rdi,8), %eax
index 7423e7161c8a2d25153ab72d4a7dfee42a0b542c..67ebb7f9d78d9786acce4050d9dd6d110dfa0819 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -disable-fp-elim -march=x86 | FileCheck %s --check-prefix=CHECK-X86
-; RUN: llc < %s -disable-fp-elim -march=x86-64 | FileCheck %s --check-prefix=CHECK-X64
+; RUN: llc < %s -disable-fp-elim -mtriple=i686-- | FileCheck %s --check-prefix=CHECK-X86
+; RUN: llc < %s -disable-fp-elim -mtriple=x86_64-- | FileCheck %s --check-prefix=CHECK-X64
 
 define i8* @f() nounwind readnone optsize {
 entry:
index eab02cc1f9d577a7dc790d90d6f2b4a99354de8a..1192b72c48d217e507db355edc858d11b2719f69 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; RUN: llc < %s -mtriple=i386-apple-darwin10 | grep "array,16512,7"
 ; RUN: llc < %s -mtriple=i386-apple-darwin9 | grep "array,16512,7"
 
index 2b5a205086e90605bde904f2036a6d455e1ae4b9..002179970531271b94384f465e6ccce892f179b0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin | FileCheck %s
+; RUN: llc < %s -mtriple=i686-apple-darwin | FileCheck %s
 
 declare void @bar(<2 x i64>* %n)
 
index 9d8b6cfa6730923963169624db72c01ffc259110..7bc485eb238682b912701cb0e5c6ba8f144a605c 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86-64 -mtriple=i686-pc-linux -enable-misched=false | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-pc-linux-gnux32 -enable-misched=false | FileCheck %s -check-prefix=X32ABI
+; RUN: llc < %s -mtriple=x86_64-pc-linux -enable-misched=false | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-pc-linux-gnux32 -enable-misched=false | FileCheck %s -check-prefix=X32ABI
 
 declare void @bar(<2 x i64>* %n)
 
index bdbab1535016c0d1f7dbf96ed40148bcda8c4ad4..7e87e7b4b4091ee9ae22db5032f8a5dcbbf1979a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 ; Don't duplicate the load.
 
index d9e676aa66c58ab6d8b2e84b3f18d4721ec0d7a3..36f634897f998e0d59e428434701d6532353d6a4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-pc-linux-gnu -show-mc-encoding | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-pc-linux-gnu -show-mc-encoding | FileCheck %s
 
 ; PR8365
 ; CHECK: andl  $-64, %edi              # encoding: [0x83,0xe7,0xc0]
index 82610114ad34d69d90423f9d78681ed01129bdc8..a971882a444fa7280ff83d094572c1feaf2479f5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -relocation-model=static -no-integrated-as | FileCheck %s
+; RUN: llc < %s -relocation-model=static -no-integrated-as | FileCheck %s
 ; PR882
 
 target datalayout = "e-p:32:32"
index 0aa55556d8f355abd9cb4ad5c361087627045a76..ae7155034ccfbb6f0b13a23ce1699beaffe27a74 100644 (file)
@@ -1,12 +1,11 @@
-; RUN: llc < %s -march=x86 -mtriple=i686-unknown-linux-gnu -relocation-model=pic    | FileCheck %s -check-prefix=CHECK-PIC-32
-; RUN: llc < %s -march=x86 -mtriple=i686-unknown-linux-gnu -relocation-model=static | FileCheck %s -check-prefix=CHECK-STATIC-32
-; RUN: llc < %s -march=x86-64 -relocation-model=static | FileCheck %s -check-prefix=CHECK-STATIC-64
-; RUN: llc < %s -march=x86-64 -relocation-model=pic    | FileCheck %s -check-prefix=CHECK-PIC-64
+; RUN: llc < %s -mtriple=i686-unknown-linux-gnu -relocation-model=pic    | FileCheck %s -check-prefix=CHECK-PIC-32
+; RUN: llc < %s -mtriple=i686-unknown-linux-gnu -relocation-model=static | FileCheck %s -check-prefix=CHECK-STATIC-32
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -relocation-model=static | FileCheck %s -check-prefix=CHECK-STATIC-64
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -relocation-model=pic    | FileCheck %s -check-prefix=CHECK-PIC-64
 ; PR3379
 ; XFAIL: *
 
 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-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
-target triple = "x86_64-unknown-linux-gnu"
 @G = external global i32              ; <i32*> [#uses=1]
 
 declare void @bar(...)
index baf0f5e87fc992aae239330f34ec5315154c3f2f..e1894cb58d0992ab0d0439b20d52888bf416f39c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=atom | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=atom | FileCheck %s
 ; CHECK:        movl
 ; CHECK:        movb
 ; CHECK:        movb
index bddb015a0dd5cd8b7d5cda2320af1d907b5c525b..19249ab684ac7c24caf5034ab713c03188feb156 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc <%s -O2 -mcpu=atom -march=x86 -relocation-model=static | FileCheck -check-prefix=atom %s
-; RUN: llc <%s -O2 -mcpu=slm -march=x86 -relocation-model=static | FileCheck -check-prefix=slm %s
-; RUN: llc <%s -O2 -mcpu=goldmont -march=x86 -relocation-model=static | FileCheck -check-prefix=slm %s
-; RUN: llc <%s -O2 -mcpu=core2 -march=x86 -relocation-model=static | FileCheck %s
+; RUN: llc <%s -O2 -mcpu=atom -mtriple=i686-- -relocation-model=static | FileCheck -check-prefix=atom %s
+; RUN: llc <%s -O2 -mcpu=slm -mtriple=i686-- -relocation-model=static | FileCheck -check-prefix=slm %s
+; RUN: llc <%s -O2 -mcpu=goldmont -mtriple=i686-- -relocation-model=static | FileCheck -check-prefix=slm %s
+; RUN: llc <%s -O2 -mcpu=core2 -mtriple=i686-- -relocation-model=static | FileCheck %s
 ;
 
 @a = common global i32 0, align 4
index 97bb1afa47a7b298a5808566e0964add52363531..15cf96f473c8b9386988c55fba7e2853b90b2190 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7 -verify-machineinstrs | FileCheck %s
 
 define void @test(i8** %a, i64* %b, i64 %c, i64 %d) nounwind {
 entry:
index df0af5f7f27d5cb86ef91e36fac59e625ab1e4a5..6940e8a7d408b30d3ca2fcaff33298eee3954516 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=corei7 -march=x86 -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mcpu=corei7 -mtriple=i686-- -verify-machineinstrs | FileCheck %s
 
 ; 64-bit load/store on x86-32
 ; FIXME: The generated code can be substantially improved.
index 1a6fde371f09c164a0b3d7507dbd187ff2ece72e..12fc53642b6b92b0fa254e7e1d3260bff354ea35 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc -march=x86 -mattr=+cmov,cx16 -mtriple=i386-pc-linux -verify-machineinstrs < %s | FileCheck %s -check-prefix=LINUX
-; RUN: llc -march=x86 -mattr=cx16 -mtriple=i386-macosx -relocation-model=pic -verify-machineinstrs < %s | FileCheck %s -check-prefix=PIC
+; RUN: llc -mattr=+cmov,cx16 -mtriple=i386-pc-linux -verify-machineinstrs < %s | FileCheck %s -check-prefix=LINUX
+; RUN: llc -mattr=cx16 -mtriple=i386-macosx -relocation-model=pic -verify-machineinstrs < %s | FileCheck %s -check-prefix=PIC
 
 @sc64 = external global i64
 
index 60e9968bdc71b86ce458bbf52838f24bdfe893d4..690ddd19a1af37e4fffc5a20ad8a9203fd4f6420 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -verify-machineinstrs | FileCheck %s
 
 ; rdar://9692967
 
index d514ac7b3110e6f56565e20c23d2045858bfd7e8..6a18e6a41ca987ed5546555f43bc6e2a02306de8 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -O0 -march=x86-64 -mcpu=corei7 -verify-machineinstrs | FileCheck %s -check-prefix=WITH-CMOV
-; RUN: llc < %s -O0 -march=x86 -mcpu=corei7 -verify-machineinstrs | FileCheck %s -check-prefix=WITH-CMOV
-; RUN: llc < %s -O0 -march=x86 -mcpu=corei7 -mattr=-cmov -verify-machineinstrs | FileCheck %s --check-prefix NOCMOV
+; RUN: llc < %s -O0 -mtriple=x86_64-- -mcpu=corei7 -verify-machineinstrs | FileCheck %s -check-prefix=WITH-CMOV
+; RUN: llc < %s -O0 -mtriple=i686-- -mcpu=corei7 -verify-machineinstrs | FileCheck %s -check-prefix=WITH-CMOV
+; RUN: llc < %s -O0 -mtriple=i686-- -mcpu=corei7 -mattr=-cmov -verify-machineinstrs | FileCheck %s --check-prefix NOCMOV
 
 @sc32 = external global i32
 
index c6b1c39d35dcf99c19c3ae41146100ab70a23496..3df34af9bd778f4954e5ce32449d6cf97618c5e2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O0 -march=x86-64 -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X64
+; RUN: llc < %s -O0 -mtriple=x86_64-- -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X64
 
 @sc64 = external global i64
 
index 5a78934eb3fd10b357acb207783a797736b34047..37434ae7b195febfa39e06c68782280ac5ad00ba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O0 -march=x86 -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X32
+; RUN: llc < %s -O0 -mtriple=i686-- -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X32
 
 @sc64 = external global i64
 
index 01123ae9b0733a79899ebf8e09152bfbd33088e0..c78a919dcb3ddfb77ec9636a7f4579c09b7f93b1 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -O0 -march=x86-64 -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X64
-; RUN: llc < %s -O0 -march=x86 -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X32
+; RUN: llc < %s -O0 -mtriple=x86_64-- -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X64
+; RUN: llc < %s -O0 -mtriple=i686-- -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X32
 
 @sc8 = external global i8
 
index f60212de5339f159e09a1dee44a699bbf3831e1b..86d950abc07d618500ec53cd060b30c6da850f3a 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86-64 -verify-machineinstrs | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mattr=slow-incdec -verify-machineinstrs | FileCheck %s --check-prefix SLOW_INC
+; RUN: llc < %s -mtriple=x86_64-- -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mattr=slow-incdec -verify-machineinstrs | FileCheck %s --check-prefix SLOW_INC
 
 ; rdar://7103704
 
index 1afc535133d6d2563967d898bebae2a00686a860..cc5563a422a0b87cabc8398ef86f5a845d57a25c 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86-64 -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=X64
-; RUN: llc < %s -march=x86 -mattr=+sse2 -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=X32
+; RUN: llc < %s -mtriple=x86_64-- -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=X64
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 -verify-machineinstrs | FileCheck %s --check-prefix=CHECK --check-prefix=X32
 
 ; On x86, an atomic rmw operation that does not modify the value in memory
 ; (such as atomic add 0) can be replaced by an mfence followed by a mov.
index aa895dedfe4cb8a7b452e90f3f44396e0dbc1c9b..fe724a8f66942aa5642821d7e25d510b6bd3eaea 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=generic -march=x86 -mattr=+cmov,cx16 -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mcpu=generic -mtriple=i686-- -mattr=+cmov,cx16 -verify-machineinstrs | FileCheck %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-f80:128:128"
 
index e02f3569c89d3c27b9e615fc1923dac966c0016d..7e5927e6ee32c6ca0fd6a192a7ffcc3695f71e52 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep align | count 4
+; RUN: llc < %s -mtriple=i686-- | grep align | count 4
 
 ; TODO: Is it a good idea to align inner loops? It's hard to know without
 ; knowing what their trip counts are, or other dynamic information. For
index c94962b74ed1515d0cc247b0def057589c87af43..002d99fd8ebdebf8d6e253adcd8873050a5ab6b5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+avx -asm-verbose=false -enable-unsafe-fp-math -enable-no-nans-fp-math | FileCheck -check-prefix=UNSAFE %s
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx -asm-verbose=false -enable-unsafe-fp-math -enable-no-nans-fp-math | FileCheck -check-prefix=UNSAFE %s
 
 ; UNSAFE-LABEL: maxpd:
 ; UNSAFE: vmaxpd {{.+}}, %xmm
index e66eefdb8e9f138cd523f3f023e2bac26b9adbd2..acb3f121c8d25b51bee954ed94889ea31e67bf34 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
index 618507a08bbb693ca95f22c9bbc14be103996da0..509f65fc6d92a8bdcb3a541218ec510aa7ddbacb 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
 
 define <16 x i32> @test2(<16 x i32> %x) {
 ; CHECK-LABEL: test2:
index 5183c9d0fb8fe0634672412ca1f78b5e7cc2a4e1..4fa4f27beb7982888e17200ccba6edf537c1bf26 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
 
 ;CHECK-LABEL: test
 ;CHECK-NOT: dec
index f75c329d10e1a7a58568b2dba4563fe813520c99..d26572fa316b4b51b4b14ef206691ad77eb0039d 100644 (file)
@@ -1,7 +1,7 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck --check-prefix=CHECK --check-prefix=KNL %s
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck --check-prefix=CHECK --check-prefix=SKX --check-prefix=SKX_ONLY %s
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=skx -mattr=avx512vbmi | FileCheck --check-prefix=CHECK --check-prefix=SKX --check-prefix=SKX_VBMI %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck --check-prefix=CHECK --check-prefix=KNL %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck --check-prefix=CHECK --check-prefix=SKX --check-prefix=SKX_ONLY %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx -mattr=avx512vbmi | FileCheck --check-prefix=CHECK --check-prefix=SKX --check-prefix=SKX_VBMI %s
 
 define <16 x float> @test1(<16 x float> %x, float* %br, float %y) nounwind {
 ; CHECK-LABEL: test1:
index e36fad345b1f7d640f1e1769e12704d1facf153a..e46da674c0ad6d7f3286b606f7c6b0bab39636e3 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck --check-prefix=SKX --check-prefix=SKX_ONLY %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck --check-prefix=SKX --check-prefix=SKX_ONLY %s
 
 ; TODO - fix fail on KNL and move this test to avx512-insert-extract.ll
 
index e71367cc6f06309b7721c8adfffa924257a9d895..d55d728a2408d6821a55a46e9f793a94ae9971a0 100644 (file)
@@ -1,8 +1,8 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -stack-symbol-ordering=0 -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s --check-prefix=CHECK --check-prefix=KNL
-; RUN: llc < %s -stack-symbol-ordering=0 -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck %s --check-prefix=CHECK --check-prefix=SKX
-; RUN: llc < %s -stack-symbol-ordering=0 -march=x86-64 -mtriple=x86_64-apple-darwin -mattr=+avx512bw  | FileCheck %s --check-prefix=CHECK --check-prefix=AVX512BW
-; RUN: llc < %s -stack-symbol-ordering=0 -march=x86-64 -mtriple=x86_64-apple-darwin -mattr=+avx512dq  | FileCheck %s --check-prefix=CHECK --check-prefix=AVX512DQ
+; RUN: llc < %s -stack-symbol-ordering=0 -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s --check-prefix=CHECK --check-prefix=KNL
+; RUN: llc < %s -stack-symbol-ordering=0 -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck %s --check-prefix=CHECK --check-prefix=SKX
+; RUN: llc < %s -stack-symbol-ordering=0 -mtriple=x86_64-apple-darwin -mattr=+avx512bw  | FileCheck %s --check-prefix=CHECK --check-prefix=AVX512BW
+; RUN: llc < %s -stack-symbol-ordering=0 -mtriple=x86_64-apple-darwin -mattr=+avx512dq  | FileCheck %s --check-prefix=CHECK --check-prefix=AVX512DQ
 
 
 define i16 @mask16(i16 %x) {
index df988185efc589ccd870afb30fcbbb87e7b51a48..732cc07496ace11ddc8e88eed7a976aec91e161b 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=knl --show-mc-encoding| FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl --show-mc-encoding| FileCheck %s
 
 define i32 @test1(float %x) {
 ; CHECK-LABEL: test1:
index adfaef25b7d39c21ce9c78f0d5ef9bf7c1058763..5603d408da2d44524300bad0add67ab227702e21 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+avx512f,+avx512bw | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512f,+avx512bw | FileCheck %s
 
 define void @f(<16 x float> %A, <16 x float> %AA, i8* %B, <8 x double> %C, <8 x double> %CC, <8 x i64> %E, <8 x i64> %EE, <16 x i32> %F, <16 x i32> %FF, <32 x i16> %G, <32 x i16> %GG, <64 x i8> %H, <64 x i8> %HH) {
 ; CHECK: vmovntps %z
index 03d4314bd70b883b5e0419331ed9fad56304fb25..5080f97768003b5f5303f9192f1a829e6cd74cd0 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512bw | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512bw | FileCheck %s
 
 define <64 x i8> @test1(i8 * %addr) {
 ; CHECK-LABEL: test1:
index 8ceeed799c667d2f9994a93f9a11d6289cecbb20..16ae9a2b5a43b78e79c956e200a25a0c94027bc7 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512bw -mattr=+avx512vl --show-mc-encoding| FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512bw -mattr=+avx512vl --show-mc-encoding| FileCheck %s
 
 define <32 x i8> @test_256_1(i8 * %addr) {
 ; CHECK-LABEL: test_256_1:
index af449d6628c4694f910292dfe582bedb9b6d2ea4..322fc55933be6c81a3fb013d1906165148016855 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512vl --show-mc-encoding| FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512vl --show-mc-encoding| FileCheck %s
 
 define <8 x i32> @test_256_1(i8 * %addr) {
 ; CHECK-LABEL: test_256_1:
index a55958a734595b350b8869c7dc4407231a231ecf..066a49568bfcb414a23fddc220dc6b1128aeb78b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s  -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=skx --show-mc-encoding | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=skx --show-mc-encoding | FileCheck %s
 
 define void @f256(<8 x float> %A, <8 x float> %AA, i8* %B, <4 x double> %C, <4 x double> %CC, i32 %D, <4 x i64> %E, <4 x i64> %EE) {
 ; CHECK: vmovntps %ymm{{.*}} ## EVEX TO VEX Compression encoding: [0xc5
index 1f60131f33caa6562b22c0431c4280ecd99bea0f..9031a0eb0129fb6ef1ca7b6e53f106f360e5dcce 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=-sse2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=-sse2 | FileCheck %s
 
 define void @test() {
 ; CHECK: lock
index fce6b7f5565c57869af52079f990151ed94fda4d..739727100a79c586e3da6f67f9024ec2d3aff98c 100644 (file)
@@ -1,7 +1,7 @@
 ; Test that vectors are scalarized/lowered correctly
 ; (with both legalization methods).
-; RUN: llc -march=x86  < %s
-; RUN: llc -march=x86  < %s
+; RUN: llc -mtriple=i686--  < %s
+; RUN: llc -mtriple=i686--  < %s
 
 ; A simple test to check copyToParts and copyFromParts.
 
index 6a79139d9bcf0c4f5c6136a5670989b76104617a..be41cd335f6cdaac7a0bd067ccbf21f8a12d4140 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i686-pc-linux-gnu | FileCheck %s
+; RUN: llc < %s -mtriple=i686-pc-linux-gnu | FileCheck %s
 
 ; CHECK: .cfi_startproc
 ; CHECK: .cfi_def_cfa_offset 8
index 7497613f25650e968b204998ab3501b2692a1555..8970db4027eec42172bca87925fce5dacf1273b4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 ; <rdar://problem/8285015>
 
 define i32 @x(i32 %t) nounwind readnone ssp {
index 4c25979dcd5e7171208960dce82af5d8a1760d95..68f4033952aa3bdd488bba7226479d74078ce23f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define i1 @foo(i64 %a)
 {
index c34c6753bfedc978cb5df7f7ffd3400e455afd35..0866a0b1b2bd1184ab0cf7850b7686efbebee878 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=i686--
+; RUN: llc < %s -mtriple=x86_64--
 ; PR1033
 
 define i64 @test1(double %t) {
index b75db95869c2725dfed7c758c6e74ac79f9d765c..febd7ba12dbb6f395f78c3595e15de7febb96217 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86-64 -mattr=-avx | grep movq | count 2
-; RUN: llc < %s -march=x86-64 -mattr=-avx | not grep rsp
+; RUN: llc < %s -mtriple=x86_64-- -mattr=-avx | grep movq | count 2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=-avx | not grep rsp
 
 define i64 @test1(double %A) {
    %B = bitcast double %A to i64
index 1a7dfb941875f378dc7ce8bc8ae5bfaa0cbc2a6a..1062b343338abceb8017dc3b64d3b729dba52e71 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llc -o - %s -march=x86 -run-pass branch-folder | FileCheck %s
+# RUN: llc -o - %s -mtriple=i686-- -run-pass branch-folder | FileCheck %s
 # Test that tail merging drops undef flags that aren't present on all
 # instructions to be merged.
 --- |
index c54ac108819ea3296fbafe9d4bb7df73de956fd5..e8e2709247860ea7b8a3f69d22d557c358163fbb 100644 (file)
@@ -1,10 +1,10 @@
 ; Without list-burr scheduling we may not see the difference in codegen here.
 ; Use a subtarget that has post-RA scheduling enabled because the anti-dependency
 ; breaker requires liveness information to be kept.
-; RUN: llc < %s -march=x86-64 -mcpu=atom -enable-misched=false -post-RA-scheduler -pre-RA-sched=list-burr -break-anti-dependencies=none > %t
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=atom -enable-misched=false -post-RA-scheduler -pre-RA-sched=list-burr -break-anti-dependencies=none > %t
 ; RUN:   grep "%xmm0" %t | count 14
 ; RUN:   not grep "%xmm1" %t
-; RUN: llc < %s -march=x86-64 -mcpu=atom -post-RA-scheduler -break-anti-dependencies=critical > %t
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=atom -post-RA-scheduler -break-anti-dependencies=critical > %t
 ; RUN:   grep "%xmm0" %t | count 7
 ; RUN:   grep "%xmm1" %t | count 7
 
index 4e9f9241011c80c8a11e0db8c392524ccb3b8666..0a3bd014937c5ea78cfa50f0998013c3c96ffbcc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc --code-model=kernel -march=x86-64 <%s -asm-verbose=0 | FileCheck %s
+; RUN: llc --code-model=kernel <%s -asm-verbose=0 | FileCheck %s
 ; PR4933
 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index 48dc18e0ac1448140e22abc3053bb28a22ee4632..336aca9a0dd8de844444c40005dc2fc5e91cc160 100644 (file)
@@ -1,7 +1,7 @@
 ; bswap should be constant folded when it is passed a constant argument
 
-; RUN: llc < %s -march=x86 -mcpu=i686 | FileCheck %s
-; RUN: llc < %s -march=x86-64 | FileCheck %s --check-prefix=CHECK64
+; RUN: llc < %s -mtriple=i686-- -mcpu=i686 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s --check-prefix=CHECK64
 
 declare i16 @llvm.bswap.i16(i16)
 
index f29511a54c4155216bacf0bb816439315f23211b..359662038575fd20589fd045017a415add954436 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck -check-prefix=X86-64 %s
 ; Win64 has not supported byval yet.
-; RUN: llc < %s -march=x86 | FileCheck -check-prefix=X86 %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck -check-prefix=X86 %s
 
 ; X86: movl    4(%esp), %eax
 ; X86: movl    8(%esp), %edx
index 5eb8b590e8da4ced4b0d89ecf5545d72686c4b16..666caf19965e19187231c6b6de8856b249674c5a 100644 (file)
@@ -12,7 +12,7 @@
 
 ; Win64 has not supported byval yet.
 
-; RUN: llc < %s -march=x86 -mattr=-avx | FileCheck %s -check-prefix=X32
+; RUN: llc < %s -mtriple=i686-- -mattr=-avx | FileCheck %s -check-prefix=X32
 ; X32-NOT:     movsl
 ; X32:     rep
 ; X32-NOT:     rep
index 85ecdaf1c67dd8c64440c548d2f4ed380b714d2d..e1741d2e8134e33ea99e9391f09507cfc667a120 100644 (file)
@@ -12,7 +12,7 @@
 
 ; Win64 has not supported byval yet.
 
-; RUN: llc < %s -march=x86 -mattr=-avx | FileCheck %s -check-prefix=X32
+; RUN: llc < %s -mtriple=i686-- -mattr=-avx | FileCheck %s -check-prefix=X32
 ; X32-NOT:     movsl
 ; X32:     rep
 ; X32-NOT:     rep
index 1e436f7903ac55559b89838c5596d4087573112e..eaf7e60b192da2ef7f857295697d8df9eff84cdc 100644 (file)
@@ -12,7 +12,7 @@
 
 ; Win64 has not supported byval yet.
 
-; RUN: llc < %s -march=x86 -mattr=-avx | FileCheck %s -check-prefix=X32
+; RUN: llc < %s -mtriple=i686-- -mattr=-avx | FileCheck %s -check-prefix=X32
 ; X32-NOT:     movsl
 ; X32:     rep
 ; X32-NOT:     rep
index 6d734a44b3c358c3e85ede9cba73a49b8e50ed5b..c93edac9787ab00f55689fe90eaabc23b9ae93fd 100644 (file)
@@ -12,7 +12,7 @@
 
 ; Win64 has not supported byval yet.
 
-; RUN: llc < %s -march=x86 -mattr=-avx | FileCheck %s -check-prefix=X32
+; RUN: llc < %s -mtriple=i686-- -mattr=-avx | FileCheck %s -check-prefix=X32
 ; X32-NOT:     movsl
 ; X32:     rep
 ; X32-NOT:     rep
index c3e7b7ef435a1f8d6ae4ecbebff88faee4383eca..d3bd1ff9a08fe8357b028c705cdc63c4f133d14d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=generic -march=x86 | grep add | not grep 16
+; RUN: llc < %s -mcpu=generic -mtriple=i686-- | grep add | not grep 16
 
        %struct.W = type { x86_fp80, x86_fp80 }
 @B = global %struct.W { x86_fp80 0xK4001A000000000000000, x86_fp80 0xK4001C000000000000000 }, align 32
index 8d5dd8c5887e4c5a4004c75847c9af90555a5d5c..584a6a449fffc5449b35f9676c5a2b7489deb4dc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | FileCheck %s
 
        %struct.S = type { <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>,
                            <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>,
index 898b4ec203ad62962c7c7342958fc4f99e1e19b4..a91b582caff1b8b97622d463b12136f480462334 100644 (file)
@@ -6,7 +6,7 @@
 ; Call to immediate is not safe on x86-64 unless we *know* that the
 ; call will be within 32-bits pcrel from the dest immediate.
 
-; RUN: llc < %s -march=x86-64 | FileCheck -check-prefix X64 %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck -check-prefix X64 %s
 
 ; PR3666
 ; PR3773
index 6caf0c6012f785b380279db49dca7aedef103c4e..a4b6f6f0edb559b14534457065c46bc7a634094d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 -print-machineinstrs=expand-isel-pseudos %s -o /dev/null 2>&1 | FileCheck %s
+; RUN: llc -print-machineinstrs=expand-isel-pseudos %s -o /dev/null 2>&1 | FileCheck %s
 
 ; Check if the edge weight to the catchpad is calculated correctly.
 
index c5480ba2b490c97adbc93be5289dcf5c1ef4d51f..fe4fa1b026bd751e974f5e3288563c7fbf540f81 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -enable-lsr-nested | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -enable-lsr-nested | FileCheck %s
 ;
 ; Nested LSR is required to optimize this case.
 ; We do not expect to see this form of IR without -enable-iv-rewrite.
index 63733abc5f347d66fbbdd4601057d859e9d1905a..5f3c17b32792db4cf853defa8d1603a33199f18c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- < %s | FileCheck %s
 
 ; The comparison happens after the relevant use, so the stride can easily
 ; be changed. The comparison can be done in a narrower mode than the
index 768af943eb490fe7a26412c3cff960fba8aea056..d32ccffe4932cada4551bf71e61b0cc1c6150faf 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc -march x86 -mcpu pentium4 < %s | FileCheck %s -check-prefix=SSE
-; RUN: llc -march x86 -mcpu pentium3 < %s | FileCheck %s -check-prefix=NOSSE2
-; RUN: llc -march x86 -mcpu pentium2 < %s | FileCheck %s -check-prefix=NOSSE1
-; RUN: llc -march x86 -mcpu pentium < %s | FileCheck %s -check-prefix=NOCMOV
+; RUN: llc -mtriple=i686-- -mcpu pentium4 < %s | FileCheck %s -check-prefix=SSE
+; RUN: llc -mtriple=i686-- -mcpu pentium3 < %s | FileCheck %s -check-prefix=NOSSE2
+; RUN: llc -mtriple=i686-- -mcpu pentium2 < %s | FileCheck %s -check-prefix=NOSSE1
+; RUN: llc -mtriple=i686-- -mcpu pentium < %s | FileCheck %s -check-prefix=NOCMOV
 ; PR14035
 
 define double @test1(i32 %a, i32 %b, double %x) nounwind {
index d514c0a35f5bb9b6105500f6a251329c52e2469e..f070a4682ec0dcec7b6c4d43ccbfbf0ba469838b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=core2 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=core2 | FileCheck %s
 
 ; Basic 128-bit cmpxchg
 define void @t1(i128* nocapture %p) nounwind ssp {
index 8a325c4cbdb9557fd7ad379297452f98fdb3b57e..b500484a4c895648d2ee4f199b177380c2a4893a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -stackrealign -O2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -stackrealign -O2 | FileCheck %s
 ; PR28755
 
 ; Check that register allocator is able to handle that
index 7d2358480051f6f01dc97daf8928637ef5eeafd8..7b5f4c346908b02655505d096d1fd8f2d1b2d610 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- < %s | FileCheck %s
 
 @Te0 = external global [256 x i32]             ; <[256 x i32]*> [#uses=5]
 @Te1 = external global [256 x i32]             ; <[256 x i32]*> [#uses=4]
index c5c2d64f63d827b9dc461900a78aab6eb3035624..08371d8fa564cbee6ed8a1296bdbec023dec47fe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s
 ; PR4297
 ; RUN: opt -S < %s -codegenprepare | FileCheck %s
 
index b49d081a64f15763ddf48cf96ff59f6b94cf4034..f2c81a4959bd54e3482e85aeb539a7f11dd003a0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | grep fldl | count 1
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | grep fldl | count 1
 
 define double @doload64(i64 %x) nounwind  {
        %tmp717 = bitcast i64 %x to double
index 358ee59c95a5151140b0e2f2d8d4ddab0e5eb5ad..51e47ea4a71cb9a81097d40aa7112a69fc153726 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep add
+; RUN: llc < %s -mtriple=i686-- | not grep add
 
 define i1 @X(i32 %X) {
         %Y = add i32 %X, 14             ; <i32> [#uses=1]
index 5eb0135277d31d5506bc553e86ca75b3841784ba..5beec4d76e22e7281cfdbf821380b9b56d58c56a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 ; Convert oeq and une to ole/oge/ule/uge when comparing with infinity
 ; and negative infinity, because those are more efficient on x86.
index 84c152d77215a9fcab10b580f69b7a9c9e9ea59d..0f85d644a3e699395f2701c273a97aa0099abe33 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah | \
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | \
 ; RUN:   grep movsd | count 1
-; RUN: llc < %s -march=x86 -mcpu=yonah | \
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | \
 ; RUN:   grep ucomisd
 declare i1 @llvm.isunordered.f64(double, double)
 
index 78b27b7dc3f516b924972bb3ec23cb0546b1f0c9..d1da121213d4943477da05a06f2eba36c741b97e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 define void @ccosl({ x86_fp80, x86_fp80 }* noalias sret %agg.result, { x86_fp80, x86_fp80 } %z) nounwind {
 entry:
index 611445f4a249fdd2f2b81a461e69ae87808ce707..416a216d8fef11dbda1bf1aa5edcc67f797a5e10 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O3 -march=x86-64 |FileCheck %s
+; RUN: llc < %s -O3 -mtriple=x86_64-- |FileCheck %s
 define i64 @foo(i1 %z, i64 %data1, i64 %data2)
 {
 ; If constant 4294967294 is hoisted to a variable, then we won't be able to use
index 4e9e49487287d9b7dd6d4b4c3c9e783c8832bade..b90080003dd090cf79cbc22e118680ca8c346964 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O3 -march=x86-64 |FileCheck %s
+; RUN: llc < %s -O3 -mtriple=x86_64-- |FileCheck %s
 define i64 @foo(i64 %data1, i64 %data2, i64 %data3)
 {
 ; If constant 4294967295 is hoisted to a variable, then we won't be able to
index 65c26f818a6a682a228f3acefef7273407c3b6d2..e406de2af4ac03af0089967c79f824370356fa0d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O3 -march=x86-64 |FileCheck %s
+; RUN: llc < %s -O3 -mtriple=x86_64-- |FileCheck %s
 define i64 @foo(i1 %z, i192* %p, i192* %q)
 {
 ; If const 128 is hoisted to a variable, then in basic block L_val2 we would
index e42a87c6acde18c15a4483caf32ef5ebf7f3d170..5722dcc93dbea545cf6ac43046741af819804de1 100644 (file)
@@ -10,7 +10,7 @@
 ; RUN: llc < %s -mtriple=x86_64-linux -o /dev/null -stats -info-output-file - | FileCheck %s -check-prefix=X64stat
 ; X64stat: 6 asm-printer
 
-; RUN: llc < %s -march=x86 -mattr=+sse2 -o /dev/null -stats -info-output-file - | FileCheck %s -check-prefix=X32stat
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 -o /dev/null -stats -info-output-file - | FileCheck %s -check-prefix=X32stat
 ; X32stat: 12 asm-printer
 
 declare float @qux(float %y)
index 2aac486323a8441f1190b985a904810b6a33cc86..5f81c75d4fa4611547dec36ec7207e1154cbbc98 100644 (file)
@@ -1,11 +1,10 @@
-; RUN: llc < %s 
-; RUN: llc < %s -fast-isel
-; RUN: llc < %s -march=x86-64
-; RUN: llc < %s -fast-isel -march=x86-64
+; RUN: llc < %s -mtriple=i386-apple-darwin9.7
+; RUN: llc < %s -mtriple=i386-apple-darwin9.7 -fast-isel
+; RUN: llc < %s -mtriple=x86_64-apple-darwin9.7
+; RUN: llc < %s -mtriple=x86_64-apple-darwin9.7 -fast-isel
 ; PR4466
 
 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-f80:128:128"
-target triple = "i386-apple-darwin9.7"
 
 define i32 @main() nounwind {
 entry:
index 4bdb2ddfab6293be0c2f4246a8284660c5fac72d..ea648e57b5316bc2033056891101b6eb78335f01 100644 (file)
@@ -1,6 +1,6 @@
 ; REQUIRES: asserts
-; RUN: llc -march=x86 -no-integrated-as < %s -verify-machineinstrs -precompute-phys-liveness
-; RUN: llc -march=x86-64 -no-integrated-as < %s -verify-machineinstrs -precompute-phys-liveness
+; RUN: llc -mtriple=i686-- -no-integrated-as < %s -verify-machineinstrs -precompute-phys-liveness
+; RUN: llc -mtriple=x86_64-- -no-integrated-as < %s -verify-machineinstrs -precompute-phys-liveness
  
 ; PR6497
 
index 5ee399fc137ae14b869098d49e4bcb0ee678cb24..3679ebb6f9af8eae6d96b9bf5011df971075a9b1 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=-f16c | FileCheck %s -check-prefix=CHECK -check-prefix=LIBCALL
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+f16c | FileCheck %s -check-prefix=CHECK -check-prefix=F16C
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=-f16c,+soft-float | FileCheck %s -check-prefix=CHECK -check-prefix=SOFTFLOAT
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+f16c,+soft-float | FileCheck %s -check-prefix=CHECK -check-prefix=SOFTFLOAT
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=-f16c | FileCheck %s -check-prefix=CHECK -check-prefix=LIBCALL
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+f16c | FileCheck %s -check-prefix=CHECK -check-prefix=F16C
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=-f16c,+soft-float | FileCheck %s -check-prefix=CHECK -check-prefix=SOFTFLOAT
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+f16c,+soft-float | FileCheck %s -check-prefix=CHECK -check-prefix=SOFTFLOAT
 
 ; This is a test for float to half float conversions on x86-64.
 ;
index 12a2e626687be80f2b3310a6141b8217e18de97c..5e6b6cf10e7462664ba6626143ccd573d3a5adbf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 ; PR3018
 
 define i32 @test(i32 %A) nounwind {
index 7a19dd2a98d17eeac79d87d60752c4c8ea3db8b3..395a31959293d85894e81548e4f1fc0d1e7a24f1 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc -march=x86-64 -mtriple=x86_64-linux < %s | FileCheck %s
-; RUN: opt -strip-debug < %s | llc -march=x86-64 -mtriple=x86_64-linux | FileCheck %s
+; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
+; RUN: opt -strip-debug < %s | llc -mtriple=x86_64-linux | FileCheck %s
 ; http://llvm.org/PR19051. Minor code-motion difference with -g.
 ; Presence of debug info shouldn't affect the codegen. Make sure that
 ; we generated the same code sequence with and without debug info. 
index bee86b4617c74b2badb7f2006c6846a478f1805d..3d01e07d79a111cad4294710d00f78c009d30c34 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
 
 ; The Peephole optimizer should fold the load into the cmp even with debug info.
 ; CHECK-LABEL: _ZN3Foo3batEv
index 80e8fd74e92d06dab9099877fe60ecd36b53a275..16f838e8fdca8089e006aef6bfb6df846f2aba8e 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march x86-64 | FileCheck %s --check-prefix=NO-OPTION
-; RUN: llc < %s -march x86-64 -disable-tail-calls | FileCheck %s --check-prefix=DISABLE-TRUE
-; RUN: llc < %s -march x86-64 -disable-tail-calls=false | FileCheck %s --check-prefix=DISABLE-FALSE
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s --check-prefix=NO-OPTION
+; RUN: llc < %s -mtriple=x86_64-- -disable-tail-calls | FileCheck %s --check-prefix=DISABLE-TRUE
+; RUN: llc < %s -mtriple=x86_64-- -disable-tail-calls=false | FileCheck %s --check-prefix=DISABLE-FALSE
 
 ; Check that command line option "-disable-tail-calls" overrides function
 ; attribute "disable-tail-calls".
index 20db750d206bd51cab7cf5c40e3472f0d07064f4..01ba4dffe33b6863e8e1c9a6c88d94ce16d5dc4c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -verify-loop-info -verify-dom-info -march=x86-64 < %s
+; RUN: llc -verify-loop-info -verify-dom-info -mtriple=x86_64-- < %s
 ; PR5243
 
 @.str96 = external constant [37 x i8], align 8    ; <[37 x i8]*> [#uses=1]
index a31b806c031f2067902b0c4aaefb42ccc5e7a126..78ca900c2b891faacf2a0a7e9cf28f03a67b337d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i386-linux | FileCheck %s
+; RUN: llc < %s -mtriple=i386-linux | FileCheck %s
 ; PR1339
 
 @"$bar" = global i32 zeroinitializer
index 05245d0d9e1e11c33c7ab801fb7c28366e5b4f57..e9287b8b93d42407cc00122263124f8fd62be4e7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- < %s | FileCheck %s
 
 ; CHECK-LABEL: @bar
 ; CHECK-DAG: movl $1074339512,
index b976a8918679d386a018399642c4f8b92550f929..37de41ea7db106691fe75faf59df43201d20f44a 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -stack-symbol-ordering=0 -mcpu=generic -march=x86-64 -mattr=+avx -mtriple=i686-apple-darwin10 | FileCheck %s
-; RUN: llc < %s -stack-symbol-ordering=0 -mcpu=generic -stackrealign -stack-alignment=32 -march=x86-64 -mattr=+avx -mtriple=i686-apple-darwin10 | FileCheck %s -check-prefix=FORCE-ALIGN
+; RUN: llc < %s -stack-symbol-ordering=0 -mcpu=generic -mattr=+avx -mtriple=x86_64-apple-darwin10 | FileCheck %s
+; RUN: llc < %s -stack-symbol-ordering=0 -mcpu=generic -stackrealign -stack-alignment=32 -mattr=+avx -mtriple=x86_64-apple-darwin10 | FileCheck %s -check-prefix=FORCE-ALIGN
 ; rdar://11496434
 
 ; no VLAs or dynamic alignment
index 34cd5d925052fb69402dd3931ce2791b25a5f009..1bfc2f7f467d4890ff8c52660c639880204b6730 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep call
+; RUN: llc < %s | grep call
 ; PR4688
 
 ; Return types can be empty structs, which can be awkward.
index 50dc72653aeab1caad814ff253aa88a323ad37d6..a83639d0f84ab2acdd2d162cb679e7cbba591313 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc < %s -emulated-tls -march=x86 -mtriple=i386-linux-gnu -relocation-model=pic | FileCheck -check-prefix=X32 %s
-; RUN: llc < %s -emulated-tls -march=x86-64 -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck -check-prefix=X64 %s
-; RUN: llc < %s -emulated-tls -march=x86 -mtriple=i386-linux-android -relocation-model=pic | FileCheck -check-prefix=X32 %s
-; RUN: llc < %s -emulated-tls -march=x86-64 -mtriple=x86_64-linux-android -relocation-model=pic | FileCheck -check-prefix=X64 %s
+; RUN: llc < %s -emulated-tls -mtriple=i386-linux-gnu -relocation-model=pic | FileCheck -check-prefix=X32 %s
+; RUN: llc < %s -emulated-tls -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck -check-prefix=X64 %s
+; RUN: llc < %s -emulated-tls -mtriple=i386-linux-android -relocation-model=pic | FileCheck -check-prefix=X32 %s
+; RUN: llc < %s -emulated-tls -mtriple=x86_64-linux-android -relocation-model=pic | FileCheck -check-prefix=X64 %s
 
 ; Use my_emutls_get_address like __emutls_get_address.
 @my_emutls_v_xyz = external global i8*, align 4
index 5db8c888a4e42b3f780883a648dcd33cff821a5a..3c312a926695cfcd3bdfa3d1353ba1100e29d1fb 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: llc < %s -emulated-tls -march=x86 -mcpu=generic -mtriple=i386-linux-gnu -relocation-model=pic \
+; RUN: llc < %s -emulated-tls -mcpu=generic -mtriple=i386-linux-gnu -relocation-model=pic \
 ; RUN:   | FileCheck -check-prefix=X32 %s
-; RUN: llc < %s -emulated-tls -march=x86-64 -mcpu=generic -mtriple=x86_64-linux-gnu -relocation-model=pic \
+; RUN: llc < %s -emulated-tls -mcpu=generic -mtriple=x86_64-linux-gnu -relocation-model=pic \
 ; RUN:   | FileCheck -check-prefix=X64 %s
-; RUN: llc < %s -emulated-tls -march=x86 -mcpu=generic -mtriple=i386-linux-android -relocation-model=pic \
+; RUN: llc < %s -emulated-tls -mcpu=generic -mtriple=i386-linux-android -relocation-model=pic \
 ; RUN:   | FileCheck -check-prefix=X32 %s
-; RUN: llc < %s -emulated-tls -march=x86-64 -mcpu=generic -mtriple=x86_64-linux-android -relocation-model=pic \
+; RUN: llc < %s -emulated-tls -mcpu=generic -mtriple=x86_64-linux-android -relocation-model=pic \
 ; RUN:   | FileCheck -check-prefix=X64 %s
 
 ; Use my_emutls_get_address like __emutls_get_address.
index 9266fe962df27e8b92c37f1aebd26526d3ad46c8..8c0ba903659b2f68fc8d3be892f656047461d86d 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc < %s -emulated-tls -march=x86 -mtriple=i386-linux-gnu | FileCheck -check-prefix=X32 %s
-; RUN: llc < %s -emulated-tls -march=x86-64 -mtriple=x86_64-linux-gnu | FileCheck -check-prefix=X64 %s
-; RUN: llc < %s -emulated-tls -march=x86 -mtriple=x86-linux-android | FileCheck -check-prefix=X32 %s
-; RUN: llc < %s -emulated-tls -march=x86-64 -mtriple=x86_64-linux-android | FileCheck -check-prefix=X64 %s
+; RUN: llc < %s -emulated-tls -mtriple=i386-linux-gnu | FileCheck -check-prefix=X32 %s
+; RUN: llc < %s -emulated-tls -mtriple=x86_64-linux-gnu | FileCheck -check-prefix=X64 %s
+; RUN: llc < %s -emulated-tls -mtriple=i386-linux-android | FileCheck -check-prefix=X32 %s
+; RUN: llc < %s -emulated-tls -mtriple=x86_64-linux-android | FileCheck -check-prefix=X64 %s
 
 ; Copied from tls.ll; emulated TLS model is not implemented
 ; for *-pc-win32 and *-pc-winows targets yet.
index 16d90001426f9ca595c7d18574c88de412e09f8d..0c534f370efce2a707dfce107a3d1b70e31c09be 100644 (file)
@@ -1,10 +1,10 @@
 ; RUN: llc < %s -emulated-tls -mtriple=i686-linux-android -relocation-model=pic \
 ; RUN:     | FileCheck -check-prefix=X86_32 %s
-; RUN: llc < %s -emulated-tls -mtriple=x86_64-linux-android -march=x86 -relocation-model=pic \
+; RUN: llc < %s -emulated-tls -mtriple=i686-linux-android -relocation-model=pic \
 ; RUN:     | FileCheck -check-prefix=X86_32 %s
 ; RUN: llc < %s -emulated-tls -mtriple=x86_64-linux-android -relocation-model=pic \
 ; RUN:     | FileCheck -check-prefix=X86_64 %s
-; RUN: llc < %s -emulated-tls -march=x86 -mtriple=i386-linux-gnu -relocation-model=pic \
+; RUN: llc < %s -emulated-tls -mtriple=i386-linux-gnu -relocation-model=pic \
 ; RUN:     | FileCheck %s
 
 ; Make sure that TLS symbols are emitted in expected order.
index 090680e48febba4b91c3beedb3fa1267817aa009..a4fa3e38dff2f5cdc5f30a9ace2a51e06352144b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=generic -march=x86 | FileCheck %s
+; RUN: llc < %s -mcpu=generic -mtriple=i686-- | FileCheck %s
 
 ; CHECK-NOT: lea{{.*}}(%esp)
 ; CHECK: {{(mov.* %ebp, %esp)|(lea.*\(%ebp\), %esp)}}
index 2295ddb5b2b9d67f3c9073019b3e5f14eb9b1e0e..b8bc143a6efeecc27065741c809119429b124d4d 100755 (executable)
@@ -1,4 +1,4 @@
-# RUN: llc -march=x86-64 -run-pass x86-evex-to-vex-compress -verify-machineinstrs -mcpu=skx -o - %s | FileCheck %s
+# RUN: llc -mtriple=x86_64-- -run-pass x86-evex-to-vex-compress -verify-machineinstrs -mcpu=skx -o - %s | FileCheck %s
 # This test verifies VEX encdoing for AVX-512 instructions that use registers of low inedexes and
 # do not use zmm or mask registers and have a corresponding AVX/AVX2 opcode
 
index d349e782d5d08eca97cfce4a1e14f021f4d23695..399d05eaa57289fec9da69952829f94a7780d860 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -x86-asm-syntax=intel | grep movzx | count 1
-; RUN: llc < %s -march=x86 -x86-asm-syntax=intel | grep movsx | count 1
+; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel | grep movzx | count 1
+; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel | grep movsx | count 1
 
 @G1 = internal global i8 0              ; <i8*> [#uses=1]
 @G2 = internal global i8 0              ; <i8*> [#uses=1]
index 858eabcb7dc6ca3f0459927970bb70e1e1527e36..8ac47bd77f7ee752a1115b3ed1ae7f3bbeca6c0a 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc -march=x86 -mcpu=bdver2 -mattr=-fma -mtriple=x86_64-apple-darwin < %s | FileCheck %s
-; RUN: llc -march=x86 -mcpu=bdver2 -mattr=-fma,-fma4 -mtriple=x86_64-apple-darwin < %s | FileCheck %s --check-prefix=CHECK-NOFMA
+; RUN: llc -mcpu=bdver2 -mattr=-fma -mtriple=i686-apple-darwin < %s | FileCheck %s
+; RUN: llc -mcpu=bdver2 -mattr=-fma,-fma4 -mtriple=i686-apple-darwin < %s | FileCheck %s --check-prefix=CHECK-NOFMA
 
 ; CHECK-LABEL: fmafunc
 define <3 x float> @fmafunc(<3 x float> %a, <3 x float> %b, <3 x float> %c) {
index 9b598299e53608d90b563db0d35f15f76ef44b0f..1ccdbb55059f01bb603d3523905c1c0e526f2d64 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep mul | count 2
+; RUN: llc < %s -mtriple=x86_64-- | grep mul | count 2
 
 define i128 @i64_sext_i128(i64 %a, i64 %b) {
   %aa = sext i64 %a to i128
index 9e20ded1111f47c06d7281b81a8094354c89a493..7e3d2fca74c64399414014c96b1b8b1295d8e348 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep mul | count 2
+; RUN: llc < %s -mtriple=i686-- | grep mul | count 2
 
 define i64 @i32_sext_i64(i32 %a, i32 %b) {
   %aa = sext i32 %a to i64
index 2040e872f7fe3d2a096fd35d22f3e1648e17da06..7b38a0157808ab277f12ea6eb98d043e48b06648 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=core2 -o %t
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=core2 -o %t
 ; RUN: not grep unpcklps %t
 
 define i32 @foo() nounwind {
index 9f1516356203f15f04524ce77a81ca39215e0e45..aeb3566cb1c84de6ef7b37e4902a8b422b54961f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 >/dev/null
+; RUN: llc < %s -mtriple=i686-- >/dev/null
 ; PR4699
 
 ; Handle this extractvalue-of-extractvalue case without getting in
index 4ea37f0c46d3e04f4c7769a57858cd7c82e82a7b..1f97d6b33f366c50680260096b3e0ab0eba71018 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+sse2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2
 
 define void @test(float* %R, <4 x float> %X) nounwind {
        %tmp = extractelement <4 x float> %X, i32 3
index 7d4c2cf619a193dcbd8c632f0825a33a3feb6952..586099d74887ec2db6dbd8aa984b0bf76ebe61b9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=penryn > %t
+; RUN: llc < %s -mtriple=i686-- -mcpu=penryn > %t
 ; RUN: not grep movd %t
 ; RUN: grep "movss     %xmm" %t | count 1
 ; RUN: grep "extractps \$1, %xmm0, " %t | count 1
index 2c5b80ac4af07528707718dc9192002845c61591..a0ec6ce25d757a2e2ac558f13485787ac8cffdf6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -x86-asm-syntax=intel -mcpu=yonah | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel -mcpu=yonah | FileCheck %s
 
 ; Check that a fastcc function pops its stack variables before returning.
 
index d9cfaa4c265694bf8c08c10b9c6b2a1cc344ceef..436be5b7a736a37b39f814f77a5ae740efe1cb96 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=generic -march=x86 -x86-asm-syntax=intel | FileCheck %s
+; RUN: llc < %s -mcpu=generic -x86-asm-syntax=intel | FileCheck %s
 ; CHECK: add esp, 8
 
 target triple = "i686-pc-linux-gnu"
index ac898e69dfe1f073c89e7749dd3100c11a4576e3..1fe2515bef889ce82388791195d797a4f78daa0b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -x86-asm-syntax=intel | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel | FileCheck %s
 ; check that fastcc is passing stuff in regs.
 
 declare x86_fastcallcc i64 @callee(i64 inreg)
index ce0dff75cf0e9e3f070a014a252ee0758894edf7..d782ec4c51c2b3ec0a2fb867a76894162f15dd8e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -O0 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -O0 | FileCheck %s
 ; Make sure fast-isel doesn't screw up aggregate constants.
 ; (Failing out is okay, as long as we don't miscompile.)
 
index 5f761ddb858f29d3ef81ef3c6c7e4bc3e282fb3d..b2b63434ca663ad5d3fe5cb3e2350340fcda4a6d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O0 -march=x86-64
+; RUN: llc < %s -O0 -mtriple=x86_64--
 ; rdar://8204072
 ; PR7652
 
index a485827be96d50d38955a73e4724368331985885..32a5ffdf5cc522e4063c58f3397b56fad97391a2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -O0
+; RUN: llc < %s -mtriple=i686-- -O0
 
 ; This file is for regression tests for cases where FastISel needs
 ; to gracefully bail out and let SelectionDAGISel take over.
index 8ac15cdbc03f0d1a432008217990c2229faca36d..fb3693d0b3fa133f8029918da721d46b6a9471b2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O0 -march=x86-64 -mattr=+mmx,+sse2 | FileCheck %s
+; RUN: llc < %s -O0 -mattr=+mmx,+sse2 | FileCheck %s
 ; PR4684
 
 target datalayout =
index ee70404bcedf6f52158c773010c29fbcf3a7d421..3f394514e2ce6afa34f4e6a89239244b6615a081 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -O0 -fast-isel-abort=1 -march=x86 -mtriple=i686-apple-darwin8 2>/dev/null | FileCheck %s
-; RUN: llc < %s -O0 -fast-isel-abort=1 -march=x86 -mtriple=i686-apple-darwin8 2>&1 >/dev/null | FileCheck -check-prefix=STDERR -allow-empty %s
+; RUN: llc < %s -O0 -fast-isel-abort=1 -mtriple=i686-apple-darwin8 2>/dev/null | FileCheck %s
+; RUN: llc < %s -O0 -fast-isel-abort=1 -mtriple=i686-apple-darwin8 2>&1 >/dev/null | FileCheck -check-prefix=STDERR -allow-empty %s
 
 %struct.s = type {i32, i32, i32}
 
index 6f9240ac4700564317d9f044bf9d7129d9c11ef2..2c7cbc64da0160f1e081755cd92efcbb8c934adb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -O0 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -O0 | FileCheck %s
 ; Make sure fast-isel doesn't reset the materialised constant map
 ; across an intrinsic call.
 
index cb8012c0fa3905be38d113a4077b8a45fadaaaa4..0a7f5d451ee7ba0c68c067cd05d9ebb0d670a8a4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -emulated-tls -march=x86 -relocation-model=pic -mtriple=i686-unknown-linux-gnu -fast-isel | FileCheck %s
+; RUN: llc < %s -emulated-tls -relocation-model=pic -mtriple=i686-unknown-linux-gnu -fast-isel | FileCheck %s
 ; PR3654
 
 @v = thread_local global i32 0
index c4be7f364f3056508d3e69b94a9e87f320281262..ce86041cecbd4893d8bd286200fa61c20dba9868 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc < %s -O0 -march=x86 | FileCheck %s
+; RUN: llc < %s -O0 | 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
-target triple = "x86_64-unknown-linux-gnu"
+target triple = "i686-unknown-linux-gnu"
 
 @glbl = extern_weak constant i8
 
index e3bc7faae3ceedc5779771d47bf79ecc98db8533..99c728a7366ccef88e7ecc9d24d1045aa364e234 100644 (file)
@@ -1,5 +1,5 @@
 ; RUN: llc < %s -fast-isel -fast-isel-abort=1 -mtriple=x86_64-apple-darwin10 | FileCheck %s
-; RUN: llc < %s -fast-isel -march=x86 -mattr=+sse2 | FileCheck --check-prefix=SSE2 %s
+; RUN: llc < %s -fast-isel -mtriple=i686-- -mattr=+sse2 | FileCheck --check-prefix=SSE2 %s
 
 ; SSE2: xor
 ; SSE2: xor
index 1886d3379aad3ca6d39a5d5799df36bfdf4711c3..88a22ca899d732099128de26ffc57c9c5d67d3e7 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: llc < %s -mtriple=x86_64-linux -O0 | FileCheck %s --check-prefix=X64
 ; RUN: llc < %s -mtriple=x86_64-windows-itanium -O0 | FileCheck %s --check-prefix=X64
-; RUN: llc < %s -march=x86 -O0 | FileCheck %s --check-prefix=X32
+; RUN: llc < %s -mtriple=i686-- -O0 | FileCheck %s --check-prefix=X32
 
 ; GEP indices are interpreted as signed integers, so they
 ; should be sign-extended to 64 bits on 64-bit targets.
index 88ad05e8e1a75a61b0efe8bac4453f46f1c81ddd..6f3e060ceca272329d276c33469e01482df2e33f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -fast-isel -tailcallopt -march=x86 | FileCheck %s
+; RUN: llc < %s -fast-isel -tailcallopt -mtriple=i686-- | FileCheck %s
 ; CHECK-NOT: add
 ; PR4154
 
index 0b7a5d9759d238c835a10195ff4aa88d0c0cc4e4..95cc7842f6f61a4356c25c541d2ba455c50d3846 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -relocation-model=pic -mtriple=i686-unknown-linux-gnu -fast-isel | FileCheck %s
+; RUN: llc < %s -relocation-model=pic -mtriple=i686-unknown-linux-gnu -fast-isel | FileCheck %s
 ; PR3654
 
 @v = thread_local global i32 0
index 375814c8afcd0df568d95e0a2dd6c29a47158ede..dbc13ba7ed78089fbfdc01793ca2e6d76583e219 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -fast-isel -fast-isel-abort=1 -verify-machineinstrs -march=x86 -mattr=sse2 -no-integrated-as
+; RUN: llc < %s -fast-isel -fast-isel-abort=1 -verify-machineinstrs -mtriple=i686-- -mattr=sse2 -no-integrated-as
 ; RUN: llc < %s -fast-isel -fast-isel-abort=1 -verify-machineinstrs -mtriple=x86_64-apple-darwin10 -no-integrated-as
 
 ; This tests very minimal fast-isel functionality.
index 499aadda44fa26ea921f886f34fa5e22604d383b..2962f8ec1ffe374490a6ccc47341e6c7cf592ec8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -tailcallopt=false | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -tailcallopt=false | FileCheck %s
 
        %struct.foo = type { [4 x i32] }
 
index 98dc2f5a1c78ee2c8b0678531cd5599d26e88859..b8e2631248ab6e8bf2cf80f58fec219d29952554 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 ; CHECK: movl {{.}}12, %eax
 ; CHECK: movl {{.}}24, %edx
index 735e1341f65b03b7b3bec98c4dfbabc1c685e3e1..e7d2f41f0c2c34ad26139079d115cfda5e056b31 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 | grep sar | count 1
-; RUN: llc < %s -march=x86-64 | not grep sar
+; RUN: llc < %s -mtriple=i686-- | grep sar | count 1
+; RUN: llc < %s -mtriple=x86_64-- | not grep sar
 
 define i32 @test(i32 %f12) nounwind {
        %tmp7.25 = lshr i32 %f12, 16            
index c5a3765c717b6ec452986953330d8e610d825b5c..aeb753c062bfe3bb9f0e4391be0a3d4a86c1c319 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -x86-asm-syntax=att -mattr=-sse2 | grep fildll | count 2
+; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=att -mattr=-sse2 | grep fildll | count 2
 
 define fastcc double @sint64_to_fp(i64 %X) {
         %R = sitofp i64 %X to double            ; <double> [#uses=1]
index 6f83e6362d5635c58225790540e46fd8ecd66d9b..0e90921227be45943f0e9478ff21d1f572215978 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc -fixup-byte-word-insts=1 -march=x86-64 < %s | \
+; RUN: llc -fixup-byte-word-insts=1 < %s | \
 ; RUN: FileCheck -check-prefix CHECK -check-prefix BWON %s
-; RUN: llc -fixup-byte-word-insts=0 -march=x86-64 < %s | \
+; RUN: llc -fixup-byte-word-insts=0 < %s | \
 ; RUN: FileCheck -check-prefix CHECK -check-prefix BWOFF %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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
index 1ddc099ffd62f903380f85efa53fcb45a6d5dd8a..2d58d866b290b6ae38eef1928c9f70e2a570aef3 100644 (file)
@@ -1,4 +1,4 @@
-;RUN: llc < %s -march=x86 | FileCheck %s
+;RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 define void @foo(i32 inreg %dns) minsize {
 entry:
index 7ccad2b80c8bc441a3e6d230a44c23dc21ea7f1e..9ec189b05e203e771668f5b2468ac716c952cb28 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=i686-unknown-linux-gnu -march=x86-64 -mcpu=x86-64 < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=x86-64 < %s | FileCheck %s
 
 ; Make sure the float conversion is folded away as it should be.
 ; CHECK-LABEL: foo
index 3b28ecc6379d3712aa0ed7f6a3b832191ec8725a..ad98c34e464ea69ed333495e7802814a1dc68ec8 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86-64 -mattr=+sse4.1,-avx | FileCheck %s --check-prefix=CHECK-HARD-FLOAT
-; RUN: llc < %s -march=x86-64 -mattr=+sse4.1,-avx,+soft-float | FileCheck %s --check-prefix=CHECK-SOFT-FLOAT
+; RUN: llc < %s -mattr=+sse4.1,-avx | FileCheck %s --check-prefix=CHECK-HARD-FLOAT
+; RUN: llc < %s -mattr=+sse4.1,-avx,+soft-float | FileCheck %s --check-prefix=CHECK-SOFT-FLOAT
 
 target triple = "x86_64-unknown-linux-gnu"
 
index cf4c8933fcabdd080a2bf24dd4707b2501f82d11..fff3a49bea2fe405c25f1458e0f810bfbf326c6d 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc < %s -mtriple=x86_64-unknown-unknown -march=x86-64 -mcpu=corei7-avx -mattr=+fma | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-FMA
-; RUN: llc < %s -mtriple=x86_64-unknown-unknown -march=x86-64 -mcpu=core-avx2 -mattr=+fma,+avx2 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-FMA
-; RUN: llc < %s -mtriple=x86_64-pc-windows -march=x86-64 -mcpu=core-avx2 -mattr=+fma,+avx2 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-FMA-WIN
-; RUN: llc < %s -mtriple=x86_64-unknown-unknown -march=x86-64 -mcpu=corei7-avx -mattr=+fma4 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-FMA4
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=corei7-avx -mattr=+fma | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-FMA
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=core-avx2 -mattr=+fma,+avx2 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-FMA
+; RUN: llc < %s -mtriple=x86_64-pc-windows -mcpu=core-avx2 -mattr=+fma,+avx2 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-FMA-WIN
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=corei7-avx -mattr=+fma4 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-FMA4
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -mattr=+avx,-fma | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-FMA4
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -mattr=-fma4 | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-FMA
 
index 34acdfe830f0ef8a4a8f31286a977955a4c8f5fd..78cf1a5a3b70ed0041bf6249263a8b631b850de4 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: llc < %s -mtriple=i386-apple-darwin10  -mattr=+fma,-fma4  | FileCheck %s
 ; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -mattr=+fma,-fma4 | FileCheck %s
-; RUN: llc < %s -march=x86 -mcpu=bdver2 -mattr=-fma4  | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=bdver2 -mattr=-fma4  | FileCheck %s
 
 ; Test FMA3 variant selection
 
index 85de1ef5c9dcf82b0923a9cbb2733fd1db9af138..df4b48b769b03273ad8c109174b459fa9055ccda 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-unknown-unknown -march=x86-64 -mcpu=corei7-avx -mattr=+fma4 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=corei7-avx -mattr=+fma4 | FileCheck %s
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=bdver2 -mattr=+avx,-fma | FileCheck %s
 
 ; VFMADD
index 564ce42fdb75f3c2685fa9de70781182a28aa5b5..ff701aba43bce765da278a79ee35dd1d0f917e54 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=x86_64-unknown-unknown -march=x86-64 < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-unknown-unknown < %s | FileCheck %s
 
 ; CHECK-LABEL: fmul2_f32:
 ; CHECK: addss %xmm0, %xmm0
index bc139f88534fa9cf6e25fc43806ba28ecf3ea5f3..32fe1b0d91e4949bcb57219558b057f4001fe331 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86-64 -enable-unsafe-fp-math | not grep mulps
-; RUN: llc < %s -march=x86-64 | grep mulps
+; RUN: llc < %s -mtriple=x86_64-- -enable-unsafe-fp-math | not grep mulps
+; RUN: llc < %s -mtriple=x86_64-- | grep mulps
 
 define void @test14(<4 x float>*) nounwind {
         load <4 x float>, <4 x float>* %0, align 1
index 7d27400740822f6d441a70556a2281f898f4015e..e2d3b0588fe240c9d524560dc2efed700f13fe31 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-apple-darwin9.6"
index 00173efff69bc51e0c07114b7dd081b90ae4f9b8..5de4acf101900841800aee8d2d73bcf63f4c7c26 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 define i32 @t1(i8* %X, i32 %i) {
 ; CHECK-LABEL: t1:
index 00839943f678da73d119379912d205fcb12b599f..a50b47481684d2200ec8254b0225d4600cff9375 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 ; CHECK: test1
 ; CHECK-NOT: mov
index 16e4786979b99c28c3937e8086fa0825279373f5..024c016c6c2c6fd4e9705b1e94c524948285128f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 define i32 @test(i32 %X) nounwind {
 entry:
index 657b7bdd24ffdf9bdd41405e368cee8fef97c90a..db28156ab9464cd17ae51b97f1e6d043239ff9f1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 -mattr=+sse4.1 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7 -mattr=+sse4.1 | FileCheck %s
 
 ; rdar://12721174
 ; We should not fold movss into pshufd since pshufd expects m128 while movss
index 8cdc58bb75e03868479e1ac0f56dd5e8ae2db1a2..5ae46e2c2e2a27a2cfb09e08b409421c9e821867 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=generic -march=x86 | FileCheck %s
+; RUN: llc < %s -mcpu=generic -mtriple=i686-- | FileCheck %s
        %struct._obstack_chunk = type { i8*, %struct._obstack_chunk*, [4 x i8] }
        %struct.obstack = type { i32, %struct._obstack_chunk*, i8*, i8*, i8*, i32, i32, %struct._obstack_chunk* (...)*, void (...)*, i8*, i8 }
 @stmt_obstack = external global %struct.obstack                ; <%struct.obstack*> [#uses=1]
index 8d4c5ef9eb220c007c21ee19f0e363eec813c7c2..f0f6849a32fdac631b85532f185492da703d92ac 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86            | FileCheck %s
+; RUN: llc < %s -mtriple=i686--            | FileCheck %s
 ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
 ; CHECK-NOT: lea
 
index 663e2afe22c7c975d19b7ec6ebb9761de325910d..0666d8909564e3536dd19404600a5f388f610480 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2,-avx | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2,-avx | FileCheck %s
 
 define <2 x double> @foo() nounwind {
   ret <2 x double> bitcast (<2 x i64><i64 -1, i64 -1> to <2 x double>)
index df06e70b0c24cda3f035a58e5897f649601497f0..11863ffdbfba2e8bade41a137a0faf4b4bfe5795 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep movslq | count 1
+; RUN: llc < %s -mtriple=x86_64-- | grep movslq | count 1
 ; PR4050
 
        %0 = type { i64 }               ; type %0
index 44c836195abc292f9b908668588b1068309d5708..203c750fc7b210462ef3ab9c1b8181c87ed94d6b 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86    | FileCheck %s -check-prefix=X32
-; RUN: llc < %s -march=x86-64 | FileCheck %s -check-prefix=X64
+; RUN: llc < %s -mtriple=i686--    | FileCheck %s -check-prefix=X32
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s -check-prefix=X64
 
 ; DAGCombiner crashes during sext folding
 
index 9f81e44074f1d194fd02af796b2d77234fc5fe7e..7837f2552e222aff6bfbb0a972072f985d04490e 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
-; RUN: llc < %s -march=x86    | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
+; RUN: llc < %s -mtriple=i686--    | FileCheck %s
 
 ;CHECK-LABEL: test
 define <2 x i256> @test() {
index 2c50bd1be75a32f015e9d4b9464926229aab2337..625c16ef7034a2eece157b556f937341be40ee1e 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -asm-verbose=false                           | FileCheck %s -check-prefix=FP-ELIM
-; RUN: llc < %s -march=x86 -asm-verbose=false -disable-fp-elim          | FileCheck %s -check-prefix=NO-ELIM
+; RUN: llc < %s -mtriple=i686-- -asm-verbose=false                           | FileCheck %s -check-prefix=FP-ELIM
+; RUN: llc < %s -mtriple=i686-- -asm-verbose=false -disable-fp-elim          | FileCheck %s -check-prefix=NO-ELIM
 
 ; Implement -momit-leaf-frame-pointer
 ; rdar://7886181
index dc59c5a44b4e7381219a654fcc07a6ff1a97dd1c..49e3b1014be4d127fb841f688bf45cd3810873d1 100644 (file)
@@ -1,6 +1,6 @@
 ;; Test that this FP immediate is stored in the constant pool as a float.
 
-; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=-sse2,-sse3 | FileCheck %s
 
 ; CHECK: {{.long.1123418112}}
 
index c8da9ea02518d905f7be252d5a2f30705c615991..0e8dbbf9b3bcbf8b74f48dbb6772638e0f43c546 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 | grep fldz
-; RUN: llc < %s -march=x86-64 | grep fld1
+; RUN: llc < %s -mtriple=i686-- | grep fldz
+; RUN: llc < %s -mtriple=x86_64-- | grep fld1
 
 %0 = type { x86_fp80, x86_fp80 }
 
index 1d3548816b72e10091f13faeb5edf00e708c8a84..d0e816db3b6932ab57350e8d278f471190482eef 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=pentiumpro | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=pentiumpro | FileCheck %s
 ; PR1012
 
 define float @foo(float* %col.2.0) {
index 96088d759234038e319077de3df8013ed7868c3d..8ff0dd442f9d504b1d629001b671a72af31a1624 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=i386 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=i386 | FileCheck %s
 ; PR6679
 
 define float @foo(float* %col.2.0) {
index 5a28bb50a34353947819b32d54b85f0bec7763cb..b8bd22308c0da3dd337f9a57d208c79b9ec16a65 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 | not grep fstp
-; RUN: llc < %s -march=x86 -mcpu=yonah | not grep movsd
+; RUN: llc < %s -mtriple=i686-- | not grep fstp
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | not grep movsd
 
 declare double @foo()
 
index 9635e2d2511a815ce7256c2c9b2d9535e098c704..db54acc754c7d9d9792f9a4cd7d49fd201cff36d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=i686-apple-darwin8 -mcpu=yonah -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-apple-darwin8 -mcpu=yonah | FileCheck %s
 
 ; These testcases shouldn't require loading into an XMM register then storing 
 ; to memory, then reloading into an FPStack reg.
index 67dcb1871df4964089e1b955e2419343d5a92e63..bc77f79638e46f42b6b3e9ba524bc121142ec703 100644 (file)
@@ -1,5 +1,5 @@
 ; This should not copy the result of foo into an xmm register.
-; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-apple-darwin9 | not grep xmm
+; RUN: llc < %s -mcpu=yonah -mtriple=i686-apple-darwin9 | not grep xmm
 ; rdar://5689903
 
 declare double @foo()
index 894897a2a5f0fbd704798074214b38e0b6f0c7ec..45597bb78f0483e29866aa7bedd4d1f2a9b48f6d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep fxch | count 2
+; RUN: llc < %s -mtriple=i686-- | grep fxch | count 2
 
 define i32 @main() nounwind {
 entry:
index b41f56f9f41e069795fcb9eae315b1ad209fb2bf..de5fe4d8374629f3b0ad029799dabd3f9babf823 100644 (file)
@@ -1,6 +1,6 @@
 ;; LowerFP_TO_SINT should not create a stack object if it's not needed.
 
-; RUN: llc < %s -march=x86 -mattr=+sse2 | not grep add
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | not grep add
 
 define i32 @main(i32 %argc, i8** %argv) {
 cond_false.i.i.i:               ; preds = %bb.i5
index 9a1337ab6cdb1c43cb71bbff8fda3eb1956082b9..1c015dccb09c750b3f902f3d7b9d6fe3bc3da939 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -x86-asm-syntax=intel -mcpu=i486 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel -mcpu=i486 | FileCheck %s
 ; Test that the load of the constant is folded into the operation.
 
 
index 5fd22e3fa6e5d58bbde551926785911212134d52..771196674b141b7f93e33e383127489da01be2ae 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 define double @short(i16* %P) {
         %V = load i16, i16* %P               ; <i16> [#uses=1]
index 57497454792b4e189839c9ba32d4a5b780a127d8..4600c4ebe9c218282aa6f54aa0bb47476968a281 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -x86-asm-syntax=intel | \
+; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel | \
 ; RUN:   grep -i ST | not grep "fadd\|fsub\|fdiv\|fmul"
 
 ; Test that the load of the memory location is folded into the operation.
index dac468e5cbf097b5847fb5c68abe1ba3222c74a0..f96bf65e44b6e8de3f7e5a8fcf4fc82864df860d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=pentium -mtriple=x86-linux-gnu -float-abi=soft | FileCheck %s 
+; RUN: llc < %s -mcpu=pentium -mtriple=i686-linux-gnu -float-abi=soft | FileCheck %s
 
 define i1 @test1(double %d) #0 {
 entry:
index 1ed2b5d0af51beba4a0ef47c32323dad47606568..71dcf1ffe165faf94188c2374f5d4734f62bc045 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86                                | FileCheck %s --check-prefix=CHECK-32
-; RUN: llc < %s -march=x86    -fast-isel -fast-isel-abort=1 | FileCheck %s --check-prefix=CHECK-32
+; RUN: llc < %s -mtriple=i686--                                | FileCheck %s --check-prefix=CHECK-32
+; RUN: llc < %s -mtriple=i686--    -fast-isel -fast-isel-abort=1 | FileCheck %s --check-prefix=CHECK-32
 ; RUN: llc < %s -mtriple=x86_64-pc-win32 -fast-isel | FileCheck %s --check-prefix=CHECK-W64
 ; RUN: llc < %s -mtriple=x86_64-unknown                             | FileCheck %s --check-prefix=CHECK-64
 ; RUN: llc < %s -mtriple=x86_64-unknown -fast-isel -fast-isel-abort=1 | FileCheck %s --check-prefix=CHECK-64
index 0c22e3c7db29b4204c6376da195927cd10d34e10..cea8f35108f87da42c256eca3851db62e847e6b9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -march=x86-64 -mcpu=core-avx-i -mattr=fsgsbase | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=core-avx-i -mattr=fsgsbase | FileCheck %s
 
 define i32 @test_x86_rdfsbase_32() {
   ; CHECK: rdfsbasel
index 6a8dbcfaa7c3b2b30d1c2c1bb257627032d788a3..6f9738f50fb4b8f918c5dff122042299f1c16e8d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 -enable-unsafe-fp-math | \
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 -enable-unsafe-fp-math | \
 ; RUN:  grep -v sp | grep xorps | count 2
 
 ; Don't fold the incoming stack arguments into the xorps instructions used
index 85b2b41fa1915d94a73718037085a32679574fd4..9778ce031ccee7edcfb2e1b05d093f09f6f6c6e5 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -mcpu=generic | FileCheck %s
-; RUN: llc < %s -march=x86 -mcpu=atom | FileCheck -check-prefix=ATOM %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=generic | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=atom | FileCheck -check-prefix=ATOM %s
 
 define void @foo(float* nocapture %A, float* nocapture %B, float* nocapture %C, i32 %N) nounwind {
 ; ATOM: foo
index d7c7c2fdb6fe0c57c26f641f48947c45285b0901..df1efab6edf37ac9575c85c9da31014a4938d9c7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -filetype=obj -o - | llvm-objdump -d - | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -filetype=obj -o - | llvm-objdump -d - | FileCheck %s
 
 ; This test verifies that we assemble code for different architectures
 ; based on target-cpu and target-features attributes.
index b1e2585be004f4c361cfa5d020a58a758085f872..d15988eb0be7503345972bc90a97702245fc07d9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -o - | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -o - | FileCheck %s
 
 ; This test verifies that we produce different code for different architectures
 ; based on target-cpu and target-features attributes.
index e260e7d7b74a28659b625fd430158482d2ff85ef..68caf7a65f8f87808a3cbfe78538803e3877eb9a 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc < %s -O0 -march=x86
-; RUN: llc < %s -O0 -march=x86-64
-; RUN: llc < %s -O2 -march=x86
-; RUN: llc < %s -O2 -march=x86-64
+; RUN: llc < %s -O0 -mtriple=i686--
+; RUN: llc < %s -O0 -mtriple=x86_64--
+; RUN: llc < %s -O2 -mtriple=i686--
+; RUN: llc < %s -O2 -mtriple=x86_64--
 
 
 ; Test big index trunc to pointer size:
index 5c4a87c969ce705e90ad9994200923cd47bcdf4a..b0ecf3e942e7b0c1a7ccfe054847abc48474d7f0 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86-64 -mcpu=generic -mtriple=x86_64-linux-gnu -relocation-model=pic -pie-copy-relocations \
+; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux-gnu -relocation-model=pic -pie-copy-relocations \
 ; RUN:   | FileCheck -check-prefix=X64 %s
-; RUN: llc < %s -emulated-tls -march=x86 -mcpu=generic -mtriple=i386-linux-gnu -relocation-model=pic -pie-copy-relocations \
+; RUN: llc < %s -emulated-tls -mcpu=generic -mtriple=i386-linux-gnu -relocation-model=pic -pie-copy-relocations \
 ; RUN:   | FileCheck -check-prefix=X32 %s
 
 ; External Linkage
index 0e29d605476db87ff4895d4f594b8f4aa47853d1..98dbcce9b77b6f32149d569f8ca7da9459635a91 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86-64 -mcpu=generic -mtriple=x86_64-linux-gnu -relocation-model=pic \
+; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux-gnu -relocation-model=pic \
 ; RUN:   | FileCheck -check-prefix=X64 %s
-; RUN: llc < %s -emulated-tls -march=x86 -mcpu=generic -mtriple=i386-linux-gnu -relocation-model=pic \
+; RUN: llc < %s -emulated-tls -mcpu=generic -mtriple=i386-linux-gnu -relocation-model=pic \
 ; RUN:   | FileCheck -check-prefix=X32 %s
 
 ; External Linkage
index d0214137b0e4fc60f1be9740e1037d43dacabeb0..8a86a421737ba27617e8c1463e6c78335a320486 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=-bmi | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=-bmi | FileCheck %s
 
 ; Use h-register extract and zero-extend.
 
index b3159f4896a8bcae15c55343b435b51bbfe0ca08..8d8b44ce28267dac5dc8d73a12ef615957388255 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=-bmi | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mattr=-bmi | FileCheck %s
 
 ; Use h-register extract and zero-extend.
 
index 0e6a0236d2c3d4bb62776f7112ac23a47838db7a..dbf9782761261f55d81a87a1acecdd42a78c4f72 100644 (file)
@@ -25,7 +25,7 @@
 ; W64:      movb %ch, (%rdx)
 ; W64-NOT:      mov
 
-; RUN: llc < %s -march=x86 | FileCheck %s -check-prefix=X86
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s -check-prefix=X86
 ; X86-NOT:      mov
 ; X86:      movb %ah, (%e
 ; X86-NOT:      mov
index 9b72916ea7438c72c2b48f9e9371f861663a0ecc..5f459c3c4598e674cd0098a0bf88eec85fd38c4c 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llc < %s -mattr=-bmi -mtriple=x86_64-linux | FileCheck %s -check-prefix=X86-64
 ; RUN: llc < %s -mattr=-bmi -mtriple=x86_64-linux-gnux32 | FileCheck %s -check-prefix=X86-64
 ; RUN: llc < %s -mattr=-bmi -mtriple=x86_64-win32 | FileCheck %s -check-prefix=WIN64
-; RUN: llc < %s -mattr=-bmi -march=x86    | FileCheck %s -check-prefix=X86-32
+; RUN: llc < %s -mattr=-bmi -mtriple=i686--    | FileCheck %s -check-prefix=X86-32
 
 ; Use h registers. On x86-64, codegen doesn't support general allocation
 ; of h registers yet, due to x86 encoding complications.
index d244ab48a2cddc0670ad7dc7cdbeaf69f29a0223..e7aeb4adf2b4610e9830d82c5ff606ba7a1b582d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 ; Use an h register, but don't omit the explicit shift for
 ; non-address use(s).
index ba96275569b380594ad86e80a8435466cf8a1f35..dcad6c83aaa30752668a56d582c572415b234ec7 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc -march=x86-64 -mcpu=core2 -fast-isel -enable-misched -misched=shuffle -misched-bottomup -verify-machineinstrs < %s
-; RUN: llc -march=x86-64 -mcpu=core2 -fast-isel -enable-misched -misched=shuffle -misched-topdown -verify-machineinstrs < %s
+; RUN: llc -mtriple=x86_64-- -mcpu=core2 -fast-isel -enable-misched -misched=shuffle -misched-bottomup -verify-machineinstrs < %s
+; RUN: llc -mtriple=x86_64-- -mcpu=core2 -fast-isel -enable-misched -misched=shuffle -misched-topdown -verify-machineinstrs < %s
 ; REQUIRES: asserts
 ;
 ; Test the LiveIntervals::handleMove() function.
index b741681ac17e4e437d08f140b567a05007bfb68d..5018900d0c732cd190d60f0847751cb43353a886 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i686-pc-linux-gnu | grep -- -1 | count 14
+; RUN: llc < %s -mtriple=i686-pc-linux-gnu | grep -- -1 | count 14
 
 ; These static initializers are too big to hand off to assemblers
 ; as monolithic blobs.
index c47569e700f52965a7f78720bd097bb4b2ad352e..999076cddd694224c8334a4e80c4adff5983e743 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep movq | count 2
+; RUN: llc < %s -mtriple=x86_64-- | grep movq | count 2
 
 define i128 @__addvti3() {
           ret i128 -1
index 21bca028888af96cc8a88e4933abf40a80125d75..585d65b678facd87a17d699e6498ee172f45263e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7 | FileCheck %s
 ; PR1198
 
 define i64 @foo(i64 %x, i64 %y) {
index 89cd495aa8b6c3002e314abdfc62d77f716fd3e9..82b75b334b3afd4389a9d15344489e3beb6f75b7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 ; Make sure none of these crash, and that the power-of-two transformations
 ; trigger correctly.
 
index 7f2da8e29538c3f991a76e73991e8b5e98cd0012..425680f9d05c32575587e5e3d7c03b8d0d90f8aa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -stop-after expand-isel-pseudos <%s 2>&1 | FileCheck %s
+; RUN: llc -stop-after expand-isel-pseudos <%s 2>&1 | FileCheck %s
 
 target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
 target triple = "i386-unknown-linux-gnu"
index 83c10a58a3a88b6373983ae13ff754e657ed5437..ec5178a541aa082f492d9f358263f3d0f66dc1b1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define void @foo(i2011* %x, i2011* %y, i2011* %p) nounwind {
   %a = load i2011, i2011* %x
index 936e54eddafa6fba8e4ceadd7f776432e48788f6..9bf75b2ee7c7b2ae9d19e508e26cfce26abe92f4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -mcpu=i486 -o - %s | FileCheck %s
+; RUN: llc -mtriple=i686-- -mcpu=i486 -o - %s | FileCheck %s
 
 ; Main test here was that ISelDAG could cope with a MachineNode in the chain
 ; from the first load to the "X86ISD::SUB". Previously it thought that meant no
index f47bd7b2defbc86b9819a1cc4e9ea3dddf4ad816..5df74794e8630335ca8ce47f3f2980b4dde39d0d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 ;; Integer absolute value, should produce something at least as good as:
 ;;       movl   %edi, %eax
index dbf1b14684c23a5ac5aa50293a6a34ab3495ac65..9898a41da11ec8e3f95bcf72c7d069e9cbeab05b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 
 define <4 x double> @foo0(<4 x double> %t) {
   %r = insertelement <4 x double> %t, double 2.3, i32 0
index d783d4fa1b497dd477eadda0e679573a1ad1b0ec..ec7547f5f715ea85036b6f98778680d287715263 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=nehalem | grep "mulpd    %xmm3, %xmm1"
-; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=nehalem | grep "mulpd    %xmm2, %xmm0"
-; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=nehalem | grep "addps    %xmm3, %xmm1"
-; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=nehalem | grep "addps    %xmm2, %xmm0"
+; RUN: llc < %s -mattr=+sse2 -mcpu=nehalem | grep "mulpd       %xmm3, %xmm1"
+; RUN: llc < %s -mattr=+sse2 -mcpu=nehalem | grep "mulpd       %xmm2, %xmm0"
+; RUN: llc < %s -mattr=+sse2 -mcpu=nehalem | grep "addps       %xmm3, %xmm1"
+; RUN: llc < %s -mattr=+sse2 -mcpu=nehalem | grep "addps       %xmm2, %xmm0"
 
 target triple = "i686-apple-darwin8"
 
index 7b79d0678bee337d762415333436c25656b10af9..56a42fc658b6a0e879e2978fc453e946d5887e14 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 ; CHECK-NOT: imul
 
index d55ece7996edfdd8228a1847c62b88de1742c63c..0ad7ea66e858cfd44f30178f7f679b9bd0427a6d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 declare i32 @foo()
 
index d17e04dd7949db96622085af6851a8769ea1c9cc..218638c0e65394b3fe701b06d852d52e3021a5b7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s | FileCheck %s
+; RUN: llc < %s | FileCheck %s
 ; 7282062
 ; ModuleID = '<stdin>'
 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
index 140c2544f19caf61d1406e5397ec6f4eeaf14fdc..408dcb75da425a081d4bfe1e55c70197d3de7957 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march x86-64 -mtriple x86_64-unknown-linux-gnu -mattr +avx | FileCheck %s
-; RUN: llc < %s -march x86-64 -mtriple x86_64-unknown-linux-gnu -mattr +avx512f | FileCheck %s
+; RUN: llc < %s -mtriple x86_64-unknown-linux-gnu -mattr +avx | FileCheck %s
+; RUN: llc < %s -mtriple x86_64-unknown-linux-gnu -mattr +avx512f | FileCheck %s
 
 define <4 x float> @testXMM_1(<4 x float> %_xmm0, i64 %_l)  {
 ; CHECK: vmovhlps  %xmm1, %xmm0, %xmm0
index 4600d4e5b99dfe3fa168917989492438d2221152..5b792d145eda4953d72cd4fdac328ae3157ab90a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march x86-64 -mtriple x86_64-unknown-linux-gnu -mattr +avx512f | FileCheck %s
+; RUN: llc < %s -mtriple x86_64-unknown-linux-gnu -mattr +avx512f | FileCheck %s
 
 define <16 x float> @testZMM_1(<16 x float> %_zmm0, <16 x float> %_zmm1) {
 entry:
index 3453fb1be5dc97870439bd7c342ebf17189f0014..42910cb10ba3cb0f190e1cda5da6490f4241197c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march x86-64 -mtriple x86_64-unknown-linux-gnu -mattr +avx512vl | FileCheck %s
+; RUN: llc < %s -mtriple x86_64-unknown-linux-gnu -mattr +avx512vl | FileCheck %s
 
 define <4 x float> @testXMM_1(<4 x float> %_xmm0, i64 %_l) {
 entry:
index 91b1ffed4e0fb35a251c3631fec831962552d220..967477d076d330edbadf088736be06f436bc85a7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llc -march=x86 -no-integrated-as < %s 2>&1 | FileCheck %s
+; RUN: not llc -mtriple=i686-- -no-integrated-as < %s 2>&1 | FileCheck %s
 
 @x = global i32 0, align 4
 
index 2ef54749739f11a36dc0bfee71604a8b4f23cc42..0228f45ce96c1b5118a0945888b3a36c32cbb11f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -no-integrated-as -mtriple=x86_64-linux-gnu | FileCheck %s
+; RUN: llc < %s -no-integrated-as -mtriple=x86_64-linux-gnu | FileCheck %s
 
 ; CHECK-LABEL: test1:
 ; CHECK: movl  (%rdi), %eax
index 31fb190daf83c6c1d674ca4b56e10855c142a2ac..a757365e348236fd4b3613a2839dc5407f995262 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: not llc -march x86 -regalloc=fast -optimize-regalloc=0 < %s 2> %t1
-; RUN: not llc -march x86 -regalloc=basic      < %s 2> %t2
-; RUN: not llc -march x86 -regalloc=greedy     < %s 2> %t3
+; RUN: not llc -mtriple=i686-- -regalloc=fast -optimize-regalloc=0 < %s 2> %t1
+; RUN: not llc -mtriple=i686-- -regalloc=basic      < %s 2> %t2
+; RUN: not llc -mtriple=i686-- -regalloc=greedy     < %s 2> %t3
 ; RUN: FileCheck %s < %t1
 ; RUN: FileCheck %s < %t2
 ; RUN: FileCheck %s < %t3
index 0874b51af6a52b36843e462c7b274ea41a66e6d1..e47e636d9e78fa579fbfe693a7b9a22d9d45ee11 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 -no-integrated-as < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-- -no-integrated-as < %s | FileCheck %s
 ; PR3701
 
 define i64 @t(i64* %arg) nounwind {
index 072c7c4195360e2f6f83d45adf4fb060ac9ce739..7e48dd2dda5ce5f616a65287ef7453fa9a6b8c98 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -no-integrated-as | grep " 37"
+; RUN: llc < %s -mtriple=i686-- -no-integrated-as | grep " 37"
 ; rdar://7008959
 
 define void @bork() nounwind {
index 8063d48a2ca639399d887c4e7e2f17e6b003e85b..f375c45b175d2ec446063bd2ce9eb261db793f71 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -no-integrated-as | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -no-integrated-as | FileCheck %s
 
 ; If the target does not have 64-bit integer registers, emit 32-bit register
 ; names.
index a96e7b818072a3488c5e26c5d638cddd0b26fac3..41a97e3dc1da10450b473eaa05ed893cf0dbc40d 100644 (file)
@@ -1,8 +1,8 @@
 ; PR2094
-; RUN: llc < %s -march=x86-64 -no-integrated-as | grep movslq
-; RUN: llc < %s -march=x86-64 -no-integrated-as | grep addps
-; RUN: llc < %s -march=x86-64 -no-integrated-as | grep paddd
-; RUN: llc < %s -march=x86-64 -no-integrated-as | not grep movq
+; RUN: llc < %s -no-integrated-as | grep movslq
+; RUN: llc < %s -no-integrated-as | grep addps
+; RUN: llc < %s -no-integrated-as | grep paddd
+; RUN: llc < %s -no-integrated-as | not grep movq
 
 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-apple-darwin8"
index 53a56aee2cb3858e38367f7115580e1fec57930f..dd67bd645ee9ecd76874613d6d058b57d28c635d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+avx -no-integrated-as
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx -no-integrated-as
 ; rdar://7066579
 
        %0 = type { i64, i64, i64, i64, i64 }           ; type %0
index be0c6f51112d9257e9459c23497a1aacfc69dc94..29034a63ed9b8a1c8ee7de9d0957c3e0af1add97 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -no-integrated-as < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- -no-integrated-as < %s | FileCheck %s
 
 declare void @bar(i32* %junk)
 
index 64a7fe82647244e3825dc89133ad21e296f30d5a..a33734af93f9f0f042a649be9d7ca3ecfe6f64df 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah -no-integrated-as
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah -no-integrated-as
 
 define void @test1() {
         tail call void asm sideeffect "ucomiss $0", "x"( float 0x41E0000000000000)
index 5ec4f469df8939ed2ad06f99cf67718edd6cc550..e4442388b082dfd7bc873a617280887b4048daf3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -no-integrated-as
+; RUN: llc < %s -mtriple=i686-- -no-integrated-as
 
 define i32 @test1() nounwind {
        ; Dest is AX, dest type = i32.
index 08de0c02d29362c6c691d2bd1fd45a24864c1020..3eb5fb0eb46684a33d964dc7ed9b9f32c5fb796a 100644 (file)
@@ -1,5 +1,5 @@
 ; PR13504
-; RUN: llc -march=x86 -mcpu=atom <%s | FileCheck %s
+; RUN: llc -mtriple=i686-- -mcpu=atom <%s | FileCheck %s
 ; CHECK: bsfl
 ; CHECK-NOT: movl
 
index f04d088ce6876d1ac754dda208cc84df14c73d70..99398b0ccd188ea6fc951cbd38baa1d8cf244d31 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -O1 -regalloc=greedy -mtriple=x86_64-apple-macosx -march x86-64  < %s -o - | FileCheck %s
+; RUN: llc -O1 -regalloc=greedy -mtriple=x86_64-apple-macosx < %s -o - | FileCheck %s
 ; Check that last chance split (RAGreedy::tryInstructonSplit) just split
 ; when this is beneficial, otherwise we end up with uncoalesced copies.
 ; <rdar://problem/15570057> 
index 4a5d8dfaf688cd54e72121fcce729be1bd6ded87..19ca7cb17a4cad38165d9e4d921c4d70f550c3b1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=-bmi | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=-bmi | FileCheck %s
 
 define fastcc i32 @t() nounwind  {
 entry:
index f2c9cc72719c47d6ba6198b464778004bd219817..ff8190c45c0aaa5b22107d729d2bcbbf208416df 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | not grep movw
+; RUN: llc < %s -mtriple=x86_64-- | not grep movw
 
 define i16 @test5(i16 %f12) nounwind {
        %f11 = shl i16 %f12, 2          ; <i16> [#uses=1]
index 71890bc23b6132f9cc33dd5f451152feda206ef6..31f554d4afd63e4ca9ef3805e1ca46479027eec0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep mov | count 3
+; RUN: llc < %s -mtriple=x86_64-- | grep mov | count 3
 
        %struct.COMPOSITE = type { i8, i16, i16 }
        %struct.FILE = type { i8*, i32, i32, i16, i16, %struct.__sbuf, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %struct.__sbuf, %struct.__sFILEX*, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 }
index aa68579d22e030884160f16c4d0ea3332d3e6f34..e36d1646abbd05165538485d48cd9a6c1ba83596 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 >/dev/null
+; RUN: llc < %s -mtriple=x86_64-- >/dev/null
 
 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 
index 88ff4dafad7d1888e378551b084a4eac79efaec4..83f0bd2bac6d73a211ee962ff9063c1a524825a4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 ; CHECK-NOT: IMPLICIT_DEF
 
 define void @foo(<2 x float>* %p) {
index 3805cbbaaaf87aa3599cfc27a0eacca57c8da881..8adc3f7e2d66efedbce8542848fb086d28bb37fa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 ; Test to check that we properly legalize an insert vector element
 define void @test(<2 x i64> %val, <2 x i64>* %dst, i64 %x) nounwind {
index b253e6c5f3b02bfac411bc092005afe2ef93ae2f..ca7ceb24b424805e26a226c771830e062ab59bc7 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86    | FileCheck %s
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=i686--    | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 declare void @llvm.x86.int(i8) nounwind
 
index c1da65e0be69849936849c5b8edcc15623ce3172..28f8135c585d3b58ac1c963280a94621859525e5 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: not llc -march=x86 -run-pass liveintervals -o - %s 2>&1 | FileCheck %s
+# RUN: not llc -mtriple=i686-- -run-pass liveintervals -o - %s 2>&1 | FileCheck %s
 # REQUIRES: asserts
 
 --- |
index 1fb80c7dba7fa4d5bd95823744b316fef9360b9c..05802660f060b8099886cb34cdc023df548abe29 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s
 ; PR2098
 
 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-f80:128:128"
index 831ad3837d96d0c32ebf9f2cd9e744f6506b51a3..d78b5eb8fe1f81c68beee54767e3cb25b3142ffb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -O2 -march=x86 < %s | FileCheck %s
+; RUN: llc -O2 -mtriple=i686-- < %s | FileCheck %s
 
 define i32* @fooOptnone(i32* %p, i32* %q, i32** %z) #0 {
 entry:
index 2f32097a09b2203ea881d4b3c9f60c355a69b147..ead3414d63dd50195a34a744f2bc60234ce08b83 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 define i32 @test(i32* %X, i32 %B) {
 ; CHECK-LABEL: test:
index 65f1994b9fe1394b8069e895934181fac53b17a1..e7236336bcd3f20428b937dfc40b73c7d24e89c1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 > %t
+; RUN: llc < %s -mtriple=i686-- > %t
 ; RUN: grep "movb.7(%...)" %t
 ; RUN: not grep leal %t
 
index 4d465c0c7aa8f89ee303dfab372e26b37b189062..98766838f14ca656efa35cb2d9893215f06fedea 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep call
+; RUN: llc < %s -mtriple=i686-- | not grep call
 
 declare i1 @llvm.isunordered.f64(double)
 
index 7753346fd9402e0ce50fc04a7d19616e2ff444cc..e28f8450a3ced004b2b6c84f9f98840845d572e8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah | not grep pxor
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | not grep pxor
 
 ; This should not need to materialize 0.0 to evaluate the condition.
 
index b1d1a20c8eb69dbef5ad590deb54914f17fd146b..ac9bd438371997514a278295fee041219c153612 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep "shrl.*31"
+; RUN: llc < %s -mtriple=i686-- | grep "shrl.*31"
 
 define i32 @test1(i32 %X) {
 entry:
index ddd24525f27ab72aa2d8ea05f589d9123d484fd9..49946890822f60c35768b01dc594cf13f4b1ac45 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=lakemont | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=lakemont | FileCheck %s
 
 ; Make sure -mcpu=lakemont implies soft floats.
 define float @test(float %a, float %b) nounwind readnone {
index 9edabcd0520d4072b53b32afb89013acb4251e3e..086fc8ed07940e5dc27c483643025d032d41ed9c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -code-model=large -mcpu=core2 -march=x86-64 -O0 | FileCheck %s
+; RUN: llc < %s -code-model=large -mcpu=core2 -mtriple=x86_64-- -O0 | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 
index 8df282983f56857a0b78c380d3a96f34b9cb870f..f0f06c12232e1615a00b5e19c85820a1669cb4f6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O0 -march x86 -o /dev/null
+; RUN: llc < %s -O0 -mtriple=i686-- -o /dev/null
 ; <rdar://problem/12445434>
 
 %0 = type { i32, float* }
index 8e6e4d23a81826a036c4e4fbf8ef0bcaa624d76d..10ef094e4be02ef1a9d5f23b55606b3e5b7d92e2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 ; PR5281
 
 ; After scaling, this type doesn't fit in memory. Codegen should generate
index 630df25d4009d02c00b2370b2c6724b418a00119..6ad55d42868b41f0a170bb1ea7099f13f121b85c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i686-pc-win32 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-pc-win32 | FileCheck %s
 
 ; PR26575
 ; Assertion `(Disp->isImm() || Disp->isGlobal()) && (Other.Disp->isImm() || Other.Disp->isGlobal()) && "Address displacement operand is always an immediate or a global"' failed.
index 55bcd7819c372157619029ebd2e92963ffa00a26..5bba1141e3a6f92c586a6487456440d20be312eb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep lea | count 13
+; RUN: llc < %s -mtriple=x86_64-- | grep lea | count 13
 
 ; This testcase was written to demonstrate an instruction-selection problem,
 ; however it also happens to expose a limitation in the DAGCombiner's
index 6a8c154a1bbec9d3eea37036cd0b288deb5a8fdf..0906773145beb4666ec07ad4385a108aed0c26d4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 -enable-legalize-types-checking < %s
+; RUN: llc -mtriple=x86_64-- -enable-legalize-types-checking < %s
 ; PR5092
 
 define <4 x float> @bug(float %a) nounwind {
index 879dc98ab20d1873dce7a34d577d71c5c7f14a6b..f05ab61814a97dbd63fd8631dcedfa13d6fe313e 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc -march=x86 < %s
-; RUN: llc -march=x86-64 < %s
+; RUN: llc -mtriple=i686-- < %s
+; RUN: llc -mtriple=x86_64-- < %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-f80:128:128-n8:16:32-S128"
 
index dff693120fb6289de1a1f170b1c8baf140260e23..e15e39c5c0ba212e0421f10f6712ed02dcf8e1c3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=sse2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=sse2 | FileCheck %s
 
 
 ; Test case for r63760 where we generate a legalization assert that an illegal
index 63e3c5c3b6b2e2fa3d647216c4140523141778ea..c029508bb7a7f0df64dc0cdc53a4b8e6b64af45f 100644 (file)
@@ -1,5 +1,5 @@
 ; REQUIRES: asserts
-; RUN: llc -mtriple=x86_64-apple-darwin -march=x86-64 < %s -o /dev/null -stats -info-output-file - | grep "hoisted out of loops" | grep 5
+; RUN: llc -mtriple=x86_64-apple-darwin < %s -o /dev/null -stats -info-output-file - | grep "hoisted out of loops" | grep 5
 
 ; MachineLICM should be able to hoist the symbolic addresses out of
 ; the inner loops.
index 7bf4ac28fdf966129d722c74972f7ff104a9bfa8..07291f85466027a78b25145117da0eab179315ed 100644 (file)
@@ -1,8 +1,8 @@
-; RUN: llc < %s -limit-float-precision=6 -march=x86 | \
+; RUN: llc < %s -limit-float-precision=6 -mtriple=i686-- | \
 ; RUN:    not grep exp | not grep log | not grep pow
-; RUN: llc < %s -limit-float-precision=12 -march=x86 | \
+; RUN: llc < %s -limit-float-precision=12 -mtriple=i686-- | \
 ; RUN:    not grep exp | not grep log | not grep pow
-; RUN: llc < %s -limit-float-precision=18 -march=x86 | \
+; RUN: llc < %s -limit-float-precision=18 -mtriple=i686-- | \
 ; RUN:    not grep exp | not grep log | not grep pow
 
 define float @f1(float %x) nounwind noinline {
index 283ee3ae71a8e0191e225353a90faa9fb126af56..7ddff938c8fe4c86281bc4a79bb9b9c3eaea6848 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep testb
+; RUN: llc < %s -mtriple=x86_64-- | grep testb
 
 ; Make sure dagcombine doesn't eliminate the comparison due
 ; to an off-by-one bug with computeKnownBits information.
index 899a375221c4feaaabc3d71bd83c5d67f387fb99..d5226e67ee47f2f98c6aa1f8a3efb9ed6e0a7dbb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s
+; RUN: llc < %s
 
 ; This testcase used to crash. See PR29132.
 
index 19a5ed5918674a06b96efe2888c91eb40bfe9822..293ceee3be9047caffd7c9d0f55ba1baf8247f0b 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march x86-64 -mcpu=broadwell | FileCheck %s
-; RUN: llc < %s -march x86-64 -mattr=+avx2 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=broadwell | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s
 
 ; Check that llc can overide function attributes target-cpu and target-features
 ; using command line options -mcpu and -mattr.
index 13046d8b3dec62da51c7eed3c7f8881102239f72..9436891e9ccb2044bdd6d6cd2d433c4806adb62d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 define i1 @t1(i64 %x) nounwind {
        %B = icmp slt i64 %x, 0
index fc6a357523fe2ff3dc5d84e898eeddf9a745b49c..f39c8a8eab902a363fbf8a66b3161e796f5f28fc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -asm-verbose=false | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -asm-verbose=false | FileCheck %s
 
 ; These tests check for loop branching structure, and that the loop align
 ; directive is placed in the expected place.
index 06281902141537769f61c202830fd82fe36d1544..6c903a85c43777b98704e5c00b5b3b376ef33711 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -relocation-model=pic | FileCheck %s -check-prefix=PIC
-; RUN: llc < %s -march=x86 -relocation-model=static | FileCheck %s -check-prefix=STATIC
+; RUN: llc < %s -mtriple=i686-- -relocation-model=pic | FileCheck %s -check-prefix=PIC
+; RUN: llc < %s -mtriple=i686-- -relocation-model=static | FileCheck %s -check-prefix=STATIC
 ;
 ; Make sure the common loop invariant A is hoisted up to preheader,
 ; since too many registers are needed to subsume it into the addressing modes.
index 2f80e0bb78bdd39edb246464c19cf627c7f8c12a..d8222b8c3e5963e0fe6ceff83a9d9f2314f56e0c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -relocation-model=static | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -relocation-model=static | FileCheck %s
 
 ; CHECK: align
 ; CHECK: movl  $4, -4(%ecx)
index d50a66805db71c66391b9e869b547787598036a1..2e4a5838792fc256a298a5886c3555f0933dd885 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep inc | count 1
+; RUN: llc < %s -mtriple=i686-- | grep inc | count 1
 
 @X = weak global i16 0         ; <i16*> [#uses=1]
 @Y = weak global i16 0         ; <i16*> [#uses=1]
index 919f836841ff6f5a7313d2b568cff9559d7461da..326a7394979c9ad5cedb86120d38d6d3cd0d47f1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | not grep inc
+; RUN: llc < %s -mtriple=x86_64-- | not grep inc
 
 define fastcc i32 @decodeMP3(i32 %isize, i32* %done) nounwind {
 entry:
index 92ec485e7752da96c061b38dfa2984cfe6fa7bb3..7a467d3118fadcc9aa3cc6c24f22c2e1155d8588 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep imul
+; RUN: llc < %s | not grep imul
 
 target triple = "i386-apple-darwin9.6"
        %struct.III_psy_xmin = type { [22 x double], [13 x [3 x double]] }
index eaa52dec2835551bd1c31db5fd23275932c4e7e9..f580e404d1774e3dfca549b45b0910e2010638ab 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s > /dev/null
+; RUN: llc < %s > /dev/null
 
 ; ScalarEvolution misses an opportunity to fold ((trunc x) + (trunc -x) + y),
 ; but LSR should tolerate this.
index 9338939fafd054873305edd9aa704a5ab614fa05..c6fba85c9ec7892a9a7e06429e68ab45ce856864 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 < %s | FileCheck %s
+; 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:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
 target triple = "i386-pc-linux-gnu"
 ; PR7651
index fe8337e2981ac66c7db212d3315d547a9f96128a..53f7fb2460c2701e73258d0c222ec16810d29d85 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -relocation-model=static -mtriple=x86_64-unknown-linux-gnu -asm-verbose=0 | FileCheck %s
+; RUN: llc < %s -relocation-model=static -mtriple=x86_64-unknown-linux-gnu -asm-verbose=0 | FileCheck %s
 
 ; The inner loop should require only one add (and no leas either).
 ; rdar://8100380
index b08356c8d3097c075ad9632089a81b0a99e505bb..19d3422f45bcf8899dfe5d0cf5e520397761177d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 > %t
+; RUN: llc < %s -mtriple=i686-- > %t
 ; RUN: not grep neg %t
 ; RUN: not grep sub.*esp %t
 ; RUN: not grep esi %t
index d825b5a76c09b195374985f53c650dc625145f28..6b82b9112eb41373887b8b5af210f78efffa9df8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -asm-verbose=false -march=x86-64 -mtriple=x86_64-apple-darwin -o - < %s | FileCheck %s
+; RUN: llc -asm-verbose=false -mtriple=x86_64-apple-darwin -o - < %s | FileCheck %s
 
 ; LSR should leave non-affine expressions alone because it currently
 ; doesn't know how to do anything with them, and when it tries, it
index 09c892c9fc887050610f7c251ff00f78cd57d47e..a8e3ab1ae9946dbb748efb4954db43446f97840a 100644 (file)
@@ -1,6 +1,6 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -march=x86-64 | FileCheck %s --check-prefix=ASM
-; RUN: llc -debug -o /dev/null < %s -march=x86-64 2>&1 | FileCheck %s --check-prefix=DBG
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s --check-prefix=ASM
+; RUN: llc -debug -o /dev/null < %s -mtriple=x86_64-- 2>&1 | FileCheck %s --check-prefix=DBG
 ; rdar://8168938
 
 ; This testcase involves SCEV normalization with the exit value from
index 29a8da2ef3aa9c23236f8bae1dc86c1bc5300650..874dbd71981b3c81bccc19eca537f2086c7f01d6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s
+; RUN: llc -mtriple=x86_64-- < %s
 
 define void @dw2102_i2c_transfer() nounwind {
 entry:
index 31a1859e3b2721d380fd4aedd1950de579f5c302..6aeaa97bdac338dbe9cb4d3ffeb599c205346020 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-- < %s | FileCheck %s
 ; rdar://9081094
 
 ; LSR shouldn't create lots of redundant address computations.
index dd1e40f6a1ecc829e8803b436073baf5f96756c9..85e0517978efa2ee83260532a5d97a92ba1cbb05 100644 (file)
@@ -1,6 +1,6 @@
 ; XFAIL: *
 ; ...should pass. See PR12324: misched bringup
-; RUN: llc < %s -march=x86-64 -O3 -asm-verbose=false | FileCheck %s
+; RUN: llc < %s -O3 -asm-verbose=false | FileCheck %s
 target datalayout = "e-p:64:64:64"
 target triple = "x86_64-unknown-unknown"
 
index b85ddeb13b8db83fcb3c17f654cdd589c731b2e5..5aca606c1e1cea0dd3d8b7849c080f975bc82f82 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 > %t
+; RUN: llc < %s -mtriple=x86_64-- > %t
 ; RUN: grep inc %t | count 1
 ; RUN: not grep incw %t
 
index 3980bee9a3067b249fe2f93c09a25f940aedbcd9..1d4cb3c04e9b0493aaffce689fcb7cc4c8cbc0b3 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc -march=x86-64 -mcpu=generic -mtriple=x86_64-unknown-linux-gnu -relocation-model=static -asm-verbose=false < %s | FileCheck %s
-; RUN: llc -march=x86-64 -mcpu=atom -mtriple=x86_64-unknown-linux-gnu -relocation-model=static -asm-verbose=false < %s | FileCheck -check-prefix=ATOM %s
+; RUN: llc -mcpu=generic -mtriple=x86_64-unknown-linux-gnu -relocation-model=static -asm-verbose=false < %s | FileCheck %s
+; RUN: llc -mcpu=atom -mtriple=x86_64-unknown-linux-gnu -relocation-model=static -asm-verbose=false < %s | FileCheck -check-prefix=ATOM %s
 
 ; CHECK: xorl  %eax, %eax
 ; CHECK: movsd .LCPI0_0(%rip), %xmm0
index adf95447779168d0bdcab4c3bc7357afaa1e72f8..45139278d8808049d5a8031c286320de11b94dbc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-- < %s | FileCheck %s
 
 ; LSR would like to use a single IV for both of these, however it's
 ; not safe due to wraparound.
index ff83f8540946e735f7e6de59e97a89cfac4b7f6e..1f0c6b3da2bf5802b002e669c3914bd8e2668001 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+lzcnt | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+lzcnt | FileCheck %s
 
 declare i8 @llvm.ctlz.i8(i8, i1) nounwind readnone
 declare i16 @llvm.ctlz.i16(i16, i1) nounwind readnone
index 225a43061c9c996eae00bc56b26ae7f9badc2bbe..05454584d9a05b34e5e1d1a0788dcecefb6f16c9 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llc -march=x86 -run-pass machine-cp -verify-machineinstrs -o - %s | FileCheck %s
+# RUN: llc -mtriple=i686-- -run-pass machine-cp -verify-machineinstrs -o - %s | FileCheck %s
 
 --- |
   declare void @foo()
index 8c0a4d4f1752fa888754e7bdbc82cb6a1fdb9b15..f40121e7b11aaa0cbdcaa0aeaf9bf9eb32b5eebd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=generic -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mcpu=generic -mtriple=x86_64-- | FileCheck %s
 
 ; Optimize away zext-inreg and sext-inreg on the loop induction
 ; variable using trip-count information.
index 974a1cfb90d1e3db8b2414fd3628416ea41a2d57..53a1f0619ff79e34d21fe08c51600c53ad203baf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 > %t
+; RUN: llc < %s -mtriple=x86_64-- > %t
 ; RUN: grep and %t | count 6
 ; RUN: grep movzb %t | count 6
 ; RUN: grep sar %t | count 12
index 0b3334d19f89ac9207567e08606b8c424f536eb5..54d950abad8dd9df2d5d779a99d262991e00921e 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc < %s -march=x86    -mattr=+sse2,-avx | grep -i EDI
-; RUN: llc < %s -march=x86-64 -mattr=+sse2,-avx | grep -i RDI
-; RUN: llc < %s -march=x86    -mattr=+avx | grep -i EDI
-; RUN: llc < %s -march=x86-64 -mattr=+avx | grep -i RDI
+; RUN: llc < %s -mtriple=i686--    -mattr=+sse2,-avx | grep -i EDI
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2,-avx | grep -i RDI
+; RUN: llc < %s -mtriple=i686--    -mattr=+avx | grep -i EDI
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | grep -i RDI
 ; rdar://6573467
 
 define void @test(<16 x i8> %a, <16 x i8> %b, i32 %dummy, i8* %c) nounwind {
index 3d6f0f66c1876585ba59458cf511a3426d0bc863..fefd456966caa9a11cb6f15db92a1734094be70d 100644 (file)
@@ -1,16 +1,16 @@
 ; Test that inline assembly is parsed by the MC layer when MC support is mature
 ; (even when the output is assembly).
 
-; RUN: not llc -march=x86 < %s > /dev/null 2> %t1
+; RUN: not llc -mtriple=i686-- < %s > /dev/null 2> %t1
 ; RUN: FileCheck %s < %t1
 
-; RUN: not llc -march=x86 -filetype=obj < %s > /dev/null 2> %t2
+; RUN: not llc -mtriple=i686-- -filetype=obj < %s > /dev/null 2> %t2
 ; RUN: FileCheck %s < %t2
 
-; RUN: not llc -march=x86-64 < %s > /dev/null 2> %t3
+; RUN: not llc -mtriple=x86_64-- < %s > /dev/null 2> %t3
 ; RUN: FileCheck %s < %t3
 
-; RUN: not llc -march=x86-64 -filetype=obj < %s > /dev/null 2> %t4
+; RUN: not llc -mtriple=x86_64-- -filetype=obj < %s > /dev/null 2> %t4
 ; RUN: FileCheck %s < %t4
 
 module asm "   .this_directive_is_very_unlikely_to_exist"
index bc8b0de3eef0d2af1f35ac309c593dbcdb045726..f18ae43ff59d062a85ddef2e8bff12ec604dbb26 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 define void @test(i1 %cnd) !prof !{!"function_entry_count", i64 1024} {
 ; CHECK-LABEL: @test
index 3023cf2e900e8bfc609711ec5f7985b1c403f572..688173e2acc6749e6a8430c713bc262834871777 100644 (file)
@@ -1,8 +1,8 @@
 ; Test the basic functionality of integer element promotions of different types.
 ; This tests checks passing of arguments, loading and storing to memory and
 ; basic arithmetic.
-; RUN: llc -march=x86 < %s > /dev/null
-; RUN: llc -march=x86-64 < %s > /dev/null
+; RUN: llc -mtriple=i686-- < %s > /dev/null
+; RUN: llc -mtriple=x86_64-- < %s > /dev/null
 
 define <1 x i8> @test_1xi8(<1 x i8> %x, <1 x i8>* %b) {
   %bb = load <1 x i8>, <1 x i8>* %b
index 5e569aabcadd364e9f12303082789d587225d90c..45827ae73ecd79f35ce3a26f9b237b9373b6d419 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=-sse -O0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=-sse -O0
 ; PR9675
 
 define i32 @t() {
index 56f67c2ed7bbf20cdee7b97d789c82e8ccc009db..21cf30d35ec25d318a392edfe969166fd020c8f6 100644 (file)
@@ -1,7 +1,7 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -march=x86 -mcpu=pentium2 -mtriple=i686-apple-darwin8.8.0 | FileCheck %s --check-prefix=X86
-; RUN: llc < %s -march=x86 -mcpu=pentium3 -mtriple=i686-apple-darwin8.8.0 | FileCheck %s --check-prefix=XMM
-; RUN: llc < %s -march=x86 -mcpu=bdver1   -mtriple=i686-apple-darwin8.8.0 | FileCheck %s --check-prefix=YMM
+; RUN: llc < %s -mcpu=pentium2 -mtriple=i686-apple-darwin8.8.0 | FileCheck %s --check-prefix=X86
+; RUN: llc < %s -mcpu=pentium3 -mtriple=i686-apple-darwin8.8.0 | FileCheck %s --check-prefix=XMM
+; RUN: llc < %s -mcpu=bdver1   -mtriple=i686-apple-darwin8.8.0 | FileCheck %s --check-prefix=YMM
 
 %struct.x = type { i16, i16 }
 
index a7f5c21422714eb4218c8846d970e7e67a2e414e..89aa77903718d3edf3901c4008aec8ff845e2141 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc  -march=x86-64 < %s
+; RUN: llc  -mtriple=x86_64-- < %s
 
 ; Ensure that MergeConsecutiveStores doesn't crash when dealing with
 ; i1 operands.
index 6ca964be9570498309bd8b9d8ac480eaa65a6883..1e7da98c8d7ccbff83aca1ca7db4e3fdfef33813 100644 (file)
@@ -1,6 +1,6 @@
 ; REQUIRES: asserts
-; RUN: llc -march=x86-64 -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck -check-prefix=X86 %s
-; RUN: llc -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -debug-only=isel < %s 2>&1 | FileCheck -check-prefix=DBGDAG %s
+; RUN: llc -mtriple=x86_64-unknown-linux-gnu < %s | FileCheck -check-prefix=X86 %s
+; RUN: llc -mtriple=x86_64-unknown-linux-gnu -debug-only=isel < %s 2>&1 | FileCheck -check-prefix=DBGDAG %s
 
 ; It's OK to merge the load / store of the first 2 components, but
 ; they must not be placed on the same chain after merging.
index 4d7badb2be243de44aacecaaf7f765381437fdfe..15f341f4d6e438088c4000d93ccd092e7600fbf8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-unknown -mcpu=generic | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=generic | FileCheck %s
 ; Both functions should produce the same code. The presence of debug values
 ; should not affect the scheduling strategy.
 ; Generated from:
index 7abd157f147acd4b4bcfe0211303899af8984712..f123490d12409b010326f42d220c367fdda79761 100644 (file)
@@ -1,5 +1,5 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -verify-machineinstrs -march=x86 -mcpu=core2 -pre-RA-sched=source -enable-misched -verify-misched -debug-only=machine-scheduler -o - 2>&1 > /dev/null | FileCheck %s
+; RUN: llc < %s -verify-machineinstrs -mtriple=i686-- -mcpu=core2 -pre-RA-sched=source -enable-misched -verify-misched -debug-only=machine-scheduler -o - 2>&1 > /dev/null | FileCheck %s
 ;
 ; Test scheduling of copy instructions.
 ;
index 0975faacb9edfd47c8370f44b01ea5d81bde976a..1559a37343a11bc6ef109b64db53fbe12513c238 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7-avx -disable-lsr -pre-RA-sched=source -enable-misched -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7-avx -disable-lsr -pre-RA-sched=source -enable-misched -verify-machineinstrs | FileCheck %s
 
 ; Verify that TEST+JE are scheduled together.
 ; CHECK: test_je
index 384344691f9bcac6e38d7b3455e64731435cf0f0..be3f086809d9429bec02b2978963544e1d36ffe5 100644 (file)
@@ -1,5 +1,5 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -march=x86-64 -mcpu=core2 -pre-RA-sched=source -enable-misched -stats 2>&1 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=core2 -pre-RA-sched=source -enable-misched -stats 2>&1 | FileCheck %s
 ;
 ; Verify that register pressure heuristics are working in MachineScheduler.
 ;
index 94bbe75702cb836cde36b7db07ab7a86be492406..495ca711e9896bbd1b22f6687698f314d5f8be44 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: llc < %s -march=x86-64 -mcpu=core2 -pre-RA-sched=source -enable-misched \
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=core2 -pre-RA-sched=source -enable-misched \
 ; RUN:          -misched-topdown -verify-machineinstrs \
 ; RUN:     | FileCheck %s -check-prefix=TOPDOWN
-; RUN: llc < %s -march=x86-64 -mcpu=core2 -pre-RA-sched=source -enable-misched \
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=core2 -pre-RA-sched=source -enable-misched \
 ; RUN:          -misched=ilpmin -verify-machineinstrs \
 ; RUN:     | FileCheck %s -check-prefix=ILPMIN
-; RUN: llc < %s -march=x86-64 -mcpu=core2 -pre-RA-sched=source -enable-misched \
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=core2 -pre-RA-sched=source -enable-misched \
 ; RUN:          -misched=ilpmax -verify-machineinstrs \
 ; RUN:     | FileCheck %s -check-prefix=ILPMAX
 ;
index 410a7f320643602cf08c24b61b62e8796d13e85d..4e42c93145410c5add537616059185e077e3c593 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc < %s -march=x86-64 -mcpu=core2 -x86-early-ifcvt -enable-misched \
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=core2 -x86-early-ifcvt -enable-misched \
 ; RUN:          -misched=shuffle -misched-bottomup -verify-machineinstrs \
 ; RUN:     | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=core2 -x86-early-ifcvt -enable-misched \
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=core2 -x86-early-ifcvt -enable-misched \
 ; RUN:          -misched=shuffle -misched-topdown -verify-machineinstrs \
 ; RUN:     | FileCheck %s --check-prefix TOPDOWN
 ; REQUIRES: asserts
index 114d2535d6038bdfedabc6545ab1a53cfca9a113..7664ec2684f6f5098b98eb8c6235587edb24fdbb 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | FileCheck -check-prefix=X32 %s
-; RUN: llc < %s -march=x86-64 -mattr=+mmx,+sse2 | FileCheck -check-prefix=X64 %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+mmx,+sse2 | FileCheck -check-prefix=X32 %s
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+mmx,+sse2 | FileCheck -check-prefix=X64 %s
 
 ;; A basic sanity check to make sure that MMX arithmetic actually compiles.
 ;; First is a straight translation of the original with bitcasts as needed.
index 6d39713833e8f74f9ef6a7dc83778ab76d86ed63..02b94e7e632dca59cac9420ae6fbc2e140d80103 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llc < %s -mtriple=x86_64-linux   | FileCheck %s
 ; RUN: llc < %s -mtriple=x86_64-win32   | FileCheck %s
-; RUN: llc < %s -march=x86 -mattr=-sse2 | FileCheck %s
-; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=-sse2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | FileCheck %s
 
 ; This test should use GPRs to copy the mmx value, not MMX regs.  Using mmx regs,
 ; increases the places that need to use emms.
index 7647fccb5803baa4c8e4a46350ec512001ff3d75..b9655830619ed762a2602eb67e0d14dde0fc2a01 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx,+ssse3,-avx | FileCheck %s --check-prefix=ALL --check-prefix=X86
-; RUN: llc < %s -march=x86 -mattr=+mmx,+avx | FileCheck %s --check-prefix=ALL --check-prefix=X86
-; RUN: llc < %s -march=x86-64 -mattr=+mmx,+ssse3,-avx | FileCheck %s --check-prefix=ALL --check-prefix=X64
-; RUN: llc < %s -march=x86-64 -mattr=+mmx,+avx | FileCheck %s --check-prefix=ALL --check-prefix=X64
+; RUN: llc < %s -mtriple=i686-- -mattr=+mmx,+ssse3,-avx | FileCheck %s --check-prefix=ALL --check-prefix=X86
+; RUN: llc < %s -mtriple=i686-- -mattr=+mmx,+avx | FileCheck %s --check-prefix=ALL --check-prefix=X86
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+mmx,+ssse3,-avx | FileCheck %s --check-prefix=ALL --check-prefix=X64
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+mmx,+avx | FileCheck %s --check-prefix=ALL --check-prefix=X64
 
 declare x86_mmx @llvm.x86.ssse3.phadd.w(x86_mmx, x86_mmx) nounwind readnone
 
index 35598d5f6e19ad3462ba4b1cd05c6501fd8599ef..eab67e08b95743a58e499937ced0c96cace77287 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx | FileCheck %s
-; RUN: llc < %s -march=x86 -mattr=+mmx,-sse | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+mmx | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+mmx,-sse | FileCheck %s
 
 ; Test that turning off sse doesn't turn off mmx.
 
index 75b2404ec56ea822ddc1fb9feb3b41b785f85ee6..e6ac21d2614e10df486c913c3088c5a7954c7d54 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep fs
+; RUN: llc < %s -mtriple=i686-- | grep fs
 
 define i32 @foo() nounwind readonly {
 entry:
index 8e964bf168989425be76703f37302c8c4c622853..f74261889777bbf30f225c0c9488855e51f2abcf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mcpu=penryn -mattr=sse4.1 | FileCheck %s --check-prefix=X32
+; RUN: llc < %s -mtriple=i386-linux-gnu -mcpu=penryn -mattr=sse4.1 | FileCheck %s --check-prefix=X32
 ; RUN: llc < %s -mtriple=x86_64-linux -mcpu=penryn -mattr=sse4.1 | FileCheck %s --check-prefix=X64
 ; RUN: llc < %s -mtriple=x86_64-win32 -mcpu=penryn -mattr=sse4.1 | FileCheck %s --check-prefix=X64
 
index ec0630a4ce08a4cdfbb9d970c40562f1d5b2601d..62525b072bb534d579ee9225ce9a4f48c9a4dba1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=core2 -no-integrated-as | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=core2 -no-integrated-as | FileCheck %s
 
 define i32 @t1() nounwind {
 entry:
index 339de3104335a71119f96af4249441d7a32b344e..372186f0e55471c81ab5e5a137d2f868743667f7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s | FileCheck %s
 ; PR2135
 
 ; CHECK: 24576
index 3fa005079de7ed0d811fdc2d179eb17ab4275ba3..87921324f05dc3ae46031a85f47a58e236afb78b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep mov | count 1
+; RUN: llc < %s -mtriple=i686-- | grep mov | count 1
 ; PR1874
        
 define i32 @test(i32 %a, i32 %b) {
index 3777d8b8cfb4fca534cfe941bfc72130f4a16843..c1139b01fb6346e070742199ea66a2aa2d678eb8 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 | grep lea
-; RUN: llc < %s -march=x86 | not grep add
+; RUN: llc < %s -mtriple=i686-- | grep lea
+; RUN: llc < %s -mtriple=i686-- | not grep add
 
 define i32 @test(i32 %X, i32 %Y) {
        ; Push the shl through the mul to allow an LEA to be formed, instead
index efb7e02720b43a12370876770eb6f8823d2f4c78..3bbcccda81a6359678f0712597cbced415db85e9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 define void @test(i64* nocapture %arr, i64 %arrsize, i64 %factor) nounwind uwtable {
   %1 = icmp sgt i64 %arrsize, 0
index 9ebdf55d0e03edcf0bea8eaee70b568535e52990..e55a3a2d35b3b7104bb56b2cc5e5fcbb824a65d6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -no-integrated-as
+; RUN: llc < %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:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
 target triple = "i686"
index a87655e5eef38a91750b3b2ff21b3331770afac6..026d0a636e88477e778bd0c839fb210eb5a5f59a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -no-integrated-as
+; RUN: llc < %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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64"
index 1c83fedad3cea14be566b252043b8b665da63e87..18e245e80dc467d23167273f9f44bc75eed8eed3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 -no-integrated-as
+; RUN: llc < %s -mattr=+mmx,+sse2 -no-integrated-as
 ; ModuleID = 'mult-alt-x86.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-f80:128:128-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32"
 target triple = "i686-pc-win32"
index be778da57332fac8b6badcabfcc693bc2256b829..d54aea160c7e3120c60b108211b2312d9b727f76 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -asm-verbose=false -disable-branch-fold -disable-block-placement -disable-tail-duplicate -march=x86-64 -mcpu=nehalem -no-integrated-as < %s | FileCheck %s
+; RUN: llc -asm-verbose=false -disable-branch-fold -disable-block-placement -disable-tail-duplicate -mtriple=x86_64-- -mcpu=nehalem -no-integrated-as < %s | FileCheck %s
 ; rdar://7236213
 ;
 ; The scheduler's 2-address hack has been disabled, so there is
index b0cb0611134843659131617b72faf4f976752958..b55e3b24a58f9be65de68071fa33240df76ea759 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 declare {x86_fp80, x86_fp80} @test()
 
index 1402f10b091adfa2618777d0f139534a557a516f..454c66cd675e2f12837f9f537c52a9e41528467e 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc -march=x86 < %s | FileCheck %s
-; RUN: llc -march=x86 -O0 < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- -O0 < %s | FileCheck %s
 
 ; CHECK-LABEL: t1:
 ; CHECK: jmp {{_?}}t1_callee
index ca5d3119cf10a6bddc0872644869a33d5bfac94f..927322b5723ade9dc23061f9bf0150ef5a2bae57 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc -march=x86 < %s | FileCheck %s
-; RUN: llc -march=x86 -O0 < %s | FileCheck %s
-; RUN: llc -march=x86 -disable-tail-calls < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- -O0 < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- -disable-tail-calls < %s | FileCheck %s
 
 declare void @t1_callee(i8*)
 define void @t1(i32* %a) {
index c9e9a3d2a976536ec0e33b4747debc89e9be8e9c..20d1641015aebaa2deea52fb90351f26effa00dc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 ; PR5039
 
 define i32 @test1(i32 %x) nounwind {
index 9dc0d749cb238b0622d704c3c0a7120f7a169ab7..542944c3fe37245e955f33e40d4a46d48c3c4bb8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s | FileCheck %s
+; RUN: llc < %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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-pc-linux-gnu"
index 592ff94c57ba4bd2f8b616c27e5de2b7c12852cb..96751abde28daf261c80d676260e909d7bab2afa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
        %struct.bf = type { i64, i16, i16, i32 }
 @bfi = common global %struct.bf zeroinitializer, align 16
index 7aebc383ddebe46e362d3d63d42683af496c8473..71d65074f845d528f3521a346fac1fb67dd1f127 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s | not grep negq
+; RUN: llc -mtriple=x86_64-- < %s | not grep negq
 
 ; These sequences don't need neg instructions; they can be done with
 ; a single shift and sub each.
index efb02f8832e6d746e7514c40174168be0f9c7604..9cfe686b277e29716f5ca3af0fd8f4d47662f91a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse4.1 -o %t
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse4.1 -o %t
 ; RUN: grep xorps %t | count 1
 
 ; Test that when we don't -enable-unsafe-fp-math, we don't do the optimization
index 5911312053dd7b4fd112e7be56f3033240cc5e4c..64f20a6f81be1e8001f04b9537ddc9b63cbedbcb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -enable-unsafe-fp-math -march=x86 | not grep xor
+; RUN: llc < %s -enable-unsafe-fp-math | not grep xor
 ; PR3374
 
 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-f80:128:128"
index 332e0b9cc6e15de0f584f8b48553324d71596df4..d42b3444424c1dbf6a5dd01bd237fe099b82ea46 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep cvtsi2sd
+; RUN: llc < %s -mtriple=x86_64-- | grep cvtsi2sd
 
 ; LSR previously eliminated the sitofp by introducing an induction
 ; variable which stepped by a bogus ((double)UINT32_C(-1)). It's theoretically
index f69157551b7af5f644ed9b214a0c2ce71a1b64dc..f5dac9c5db15a4e13b78135e3ec4f8ae7f0da69b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; rdar://6559995
 
 @a = external global [255 x i8*], align 32
index c8c2cd753e080f065713c77b04a2cce43b42b329..534cfc67eea7677076d54051d2291884871d3fd1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=-sse2,-sse3 | FileCheck %s
 
 ; CHECK: fchs
 
index 8fc0f7075c0e709934eecff571b8cc29bbba3eda..5a40f9d5ad699b8ad89674b1107a5280da54ee1d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -mcpu=i486 < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- -mcpu=i486 < %s | FileCheck %s
 
 define i32 @test1(i32 %g, i32* %j) {
   %tobool = icmp eq i32 %g, 0
index 35090e372916e512fcafe95eea252a3f8c8d37ac..b60723e9cfaac25e5fbb34c62f508931b6480a6c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep btl
+; RUN: llc < %s -mtriple=i686-- | not grep btl
 
 ; This tests some cases where BT must not be generated.  See also bt.ll.
 ; Fixes 20040709-[12].c in gcc testsuite.
index 8b995dafa75ab10ded2e594b07c132db706d6cc6..f9a18b7022b3a9ec5d28121c426de197a77fc045 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 -mattr=-cx16 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7 -mattr=-cx16 | FileCheck %s
 define void @test(i128* %a) nounwind {
 entry:
 ; CHECK: __sync_val_compare_and_swap_16
index 5449791f3fa39e7d668bfa8c4a8bd0fecfb64cd0..a0aa6152bd471372dbc62474e12054a31554a7f5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llc -march=x86 -mtriple=x86_64-linux-gnu < %s 2> %t
+; RUN: not llc -mtriple=i686-linux-gnu < %s 2> %t
 ; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
 
 @0 = global i8 extractvalue ([1 x i8] select (i1 ptrtoint (i32* @1 to i1), [1 x i8] [ i8 1 ], [1 x i8] [ i8 2 ]), 0)
index 30613ef383a357e6311b6818d20a3fa0e0458c5b..b1a03cf8b2e547dc34495331a640123e12f72f09 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llc -march=x86 -mtriple=x86_64-linux-gnu < %s 2> %t
+; RUN: not llc -mtriple=i686-linux-gnu < %s 2> %t
 ; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
 
 @0 = global i8 insertvalue( { i8 } select (i1 ptrtoint (i32* @1 to i1), { i8 } { i8 1 }, { i8 } { i8 2 }), i8 0, 0)
index 7617d59f4a05fbdf0e0a9a8cdb38f7a6cbe61ceb..9a2242fde24a329a352aff7dfa9f7b271b8c4c69 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: not  llc < %s -march=x86-64 -mattr=-sse 2>&1 | FileCheck --check-prefix NOSSE %s
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: not  llc < %s -mattr=-sse 2>&1 | FileCheck --check-prefix NOSSE %s
+; RUN: llc < %s | FileCheck %s
 
 ; NOSSE: {{SSE register return with SSE disabled}}
 
index 3da80aae686f31591a7e36e3eb6b31bc839a739b..b88ddf85e0ef5f495d40e058caf1d205a47949cc 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: not llc < %s -march=x86 -mcpu=i686 -mattr=-sse 2>&1 | FileCheck --check-prefix NOSSE %s
-; RUN: llc < %s -march=x86 -mcpu=i686 -mattr=+sse | FileCheck %s
+; RUN: not llc < %s -mcpu=i686 -mattr=-sse 2>&1 | FileCheck --check-prefix NOSSE %s
+; RUN: llc < %s -mcpu=i686 -mattr=+sse | FileCheck %s
 
 ; NOSSE: {{SSE register return with SSE disabled}}
 
index 8a81d0e719533c899ab7ac0dd05e9f8245a494c7..5b6da24bba729a7853d9e4f64c77626ce3d7fec2 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86-64 -mattr=-sse | FileCheck %s -check-prefix=NOSSE
-; RUN: llc < %s -march=x86-64 | FileCheck %s -check-prefix=YESSSE
+; RUN: llc < %s -mattr=-sse | FileCheck %s -check-prefix=NOSSE
+; RUN: llc < %s | FileCheck %s -check-prefix=YESSSE
 ; PR3403
 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
 target triple = "x86_64-unknown-linux-gnu"
index 3571d37ed423e0c10d93028e27068820852bd588..152f8b14a134167fd25398d42d0da422f362b4de 100644 (file)
@@ -1,6 +1,6 @@
 ; Check the MCNullStreamer operates correctly, at least on a minimal test case.
 ;
-; RUN: llc -filetype=null -o %t -march=x86 %s
+; RUN: llc -filetype=null -o %t -mtriple=i686-- %s
 ; RUN: llc -filetype=null -o %t -mtriple=i686-cygwin %s
 
 source_filename = "test/CodeGen/X86/null-streamer.ll"
index 9f42af4aea957e87501bd562f404df693a837ec3..b795e0fda8b95d87baf05eecb0af501ee1db607f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -O0 < %s -march=x86-64 | FileCheck %s
+; RUN: llc -O0 < %s | FileCheck %s
 
 ; ModuleID = 'ts.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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
index b654a81c11cde27d316c089c60db155cf739299f..49429b258a29fd9240618629a2e53923caa104ad 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 ; This test should get one and only one register to register mov.
 ; CHECK-LABEL: t:
index 006592aaade2285368f845c33a7912d885e832de..2dde95738d1f2c6cb1ae0878f20547de74dd0f59 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep cmov
+; RUN: llc < %s | not grep cmov
 
 ; LSR should be able to eliminate the max computations by
 ; making the loops use slt/ult comparisons instead of ne comparisons.
index e987495f2c01ac186d2824c148d6d98e83b35bd2..c1e15f9894aaba1c206a6c95d73bc7d31971f31d 100644 (file)
@@ -6,7 +6,7 @@
 
 ; Check that the shift gets turned into an LEA.
 
-; RUN: llc < %s -march=x86 -x86-asm-syntax=intel | \
+; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel | \
 ; RUN:   not grep "mov E.X, E.X"
 
 @G = external global i32                ; <i32*> [#uses=1]
index c9aeb7deb4f3a7ca519606cd994e1d11eab65ae3..e00a772ecb004d43207779428edfaf2fc5320b8d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 > %t
+; RUN: llc < %s > %t
 ; RUN: grep foos+5 %t
 ; RUN: grep foos+1 %t
 ; RUN: grep foos+9 %t
index 1772f008b94e52c720605effc804c05fc6c43454..2d5e7a1484ce7ef93b7065179d54419d32d5636e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 > %t
+; RUN: llc < %s -mtriple=x86_64-- > %t
 ; RUN: not grep cmp %t
 ; RUN: not grep test %t
 
index 7448da3894da2fa7f07828d1e853395b1a275ec3..e3d34d30f7f4f7b142582987a803c48b4f6f956a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 > %t
+; RUN: llc < %s -mtriple=i686-- > %t
 ; RUN: grep dec %t | count 1
 ; RUN: not grep test %t
 ; RUN: not grep cmp %t
index e43b8ef54cf5f9f11e400e4b503d8bdeef6204c9..276e57551c19c266816bc4b70b76f194e73e5097 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -verify-machineinstrs -march=x86 | FileCheck %s
+; RUN: llc < %s -verify-machineinstrs | FileCheck %s
 
 ; CHECK: testl
 
index b3d4f585f45df50f3b3490dbadee6e4d9273b47b..9f8806a379b515ce1a918df239a702da6e428bf7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=generic -march=x86 -post-RA-scheduler=false | FileCheck %s
+; RUN: llc < %s -mcpu=generic -mtriple=i686-- -post-RA-scheduler=false | FileCheck %s
 ; rdar://7226797
 
 ; LLVM should omit the testl and use the flags result from the orl.
index 9fcc1a20798bbc6bffb87897d5026283cf99f20f..848f9fe2412cf03585d1c112d6d71110d9524d16 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 -mcpu=core-avx2 < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-- -mcpu=core-avx2 < %s | FileCheck %s
 ;
 ; Test multiple peephole-time folds in a single basic block.
 ; <rdar://problem/16478629>
index 37f3f096556fb7c1e2e1592cd573ca09fbcca7a5..5d382344c211436d3d0f0f61b499469075b7d116 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 %"class.std::bitset" = type { [8 x i8] }
 
index 8405ca436fdeeb10b7aafc116d83d2cd6f3ae979..e90f66df871c5ebacae8eb7cfbcc80beb7178ccc 100644 (file)
@@ -1,7 +1,7 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -disable-preheader-prot=true  -march=x86 -stats 2>&1 | grep "Number of blocks eliminated" | grep 3
-; RUN: llc < %s -disable-preheader-prot=true  -march=x86 -stats -cgp-freq-ratio-to-skip-merge=10 2>&1 | grep "Number of blocks eliminated" | grep 6
-; RUN: llc < %s -disable-preheader-prot=false -march=x86 -stats 2>&1 | grep "Number of blocks eliminated" | grep 3
+; RUN: llc < %s -disable-preheader-prot=true  -stats 2>&1 | grep "Number of blocks eliminated" | grep 3
+; RUN: llc < %s -disable-preheader-prot=true  -stats -cgp-freq-ratio-to-skip-merge=10 2>&1 | grep "Number of blocks eliminated" | grep 6
+; RUN: llc < %s -disable-preheader-prot=false -stats 2>&1 | grep "Number of blocks eliminated" | grep 3
 ; PR1296
 
 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"
index 8b370d93afdb8e1ad932715e90f417a4f1c91b5a..a5453b9e1f8c9452e38f7c0eb22a7603b705d51d 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -stack-symbol-ordering=0 -march=x86 -mtriple=i386-apple-darwin9 -mcpu=generic -regalloc=fast -optimize-regalloc=0 -no-x86-call-frame-opt | FileCheck %s
-; RUN: llc -O0 < %s -stack-symbol-ordering=0 -march=x86 -mtriple=i386-apple-darwin9 -mcpu=generic -regalloc=fast -no-x86-call-frame-opt | FileCheck %s
-; RUN: llc < %s -stack-symbol-ordering=0 -march=x86 -mtriple=i386-apple-darwin9 -mcpu=atom -regalloc=fast -optimize-regalloc=0 -no-x86-call-frame-opt | FileCheck -check-prefix=ATOM %s
+; RUN: llc < %s -stack-symbol-ordering=0 -mtriple=i386-apple-darwin9 -mcpu=generic -regalloc=fast -optimize-regalloc=0 -no-x86-call-frame-opt | FileCheck %s
+; RUN: llc -O0 < %s -stack-symbol-ordering=0 -mtriple=i386-apple-darwin9 -mcpu=generic -regalloc=fast -no-x86-call-frame-opt | FileCheck %s
+; RUN: llc < %s -stack-symbol-ordering=0 -mtriple=i386-apple-darwin9 -mcpu=atom -regalloc=fast -optimize-regalloc=0 -no-x86-call-frame-opt | FileCheck -check-prefix=ATOM %s
 ; CHECKed instructions should be the same with or without -O0 except on Intel Atom due to instruction scheduling.
 
 @.str = private constant [12 x i8] c"x + y = %i\0A\00", align 1 ; <[12 x i8]*> [#uses=1]
index 13605b789bfce8029da3468876d91a3006db7deb..9c329018a136bc8e5bf4d5dd1dab13a8f724d28f 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
-; RUN: llc -no-phi-elim-live-out-early-exit -terminal-rule < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
+; RUN: llc -no-phi-elim-live-out-early-exit -terminal-rule < %s -mtriple=i686-- | FileCheck %s
 ; PR2659
 
 define i32 @binomial(i32 %n, i32 %k) nounwind {
index 6c76949fb78b787cf33a7334207fdafa01b79332..795bf27af9218b68f0a6e7a41e1fb4f185832447 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7 | FileCheck %s
 
 ; rdar://11897677
 
index fe6f521f4d3227cf37ca8706f7ec0be3465211d1..83c435e5e2d5474ddab7f39cbb906500ff2c2ea3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep mov | count 3
+; RUN: llc < %s -mtriple=i686-- | grep mov | count 3
 
 define fastcc i32 @_Z18yy_get_next_bufferv() nounwind {
 entry:
index 8829c5dbbf79f19c8f09aeb2e2677b0ed7a881ab..7a3da26b23648d212a25cd448c924247005f99fa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 
 define void @foobar() {
 entry:
index 0ec22a08e44013ba1948d7c33e37e553758a56da..c5013017ce892b2bdd871478ebb0d7803fedce1e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+sse2,+sse4.1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2,+sse4.1
 
 ; No check in a crash test
 
index 12bdba9fa595b8bb3b11333008bbb08c3303b92e..5bb4aeddb899d9a59b6d80e926f818935ba754e1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+sse2,+sse4.1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2,+sse4.1
 
 ; No check in a crash test
 
index 436d89caabe0b34833be1c15b3559a0dc670cf3c..34e878098414973621986eca74d5e9aa78ffc87e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+sse2,+sse4.1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2,+sse4.1
 
 ; No check in a crash test
 
index 9fa83ce17b553b86328d43c295bfa40e3724cdc6..822f18cdca22a7d5ea6acf7cb1680c238cb00d46 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+sse2,+sse4.1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2,+sse4.1
 
 ; No check in a crash test
 
index 7a2cc5b1a60ddda359c57853b904b0b4bf599e2b..d2bd4d8d8b051bf4e9f71fce810cc8c35268ab1a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -stackrealign -stack-alignment=32 -march=x86-64 -mattr=+avx -mtriple=i686-apple-darwin10 | FileCheck %s
+; RUN: llc < %s -stackrealign -stack-alignment=32 -mattr=+avx -mtriple=x86_64-apple-darwin10 | FileCheck %s
 ; PR11468
 
 define void @f(i64 %sz) uwtable {
index 1baf07924d39286eb0e537c5848ee6469fcc9088..caaf2710fba8cb20ceaac540de33e4874eea5afa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=corei7-avx -march=x86-64 -mattr=+avx
+; RUN: llc < %s -mcpu=corei7-avx -mtriple=x86_64-- -mattr=+avx
 
 define void @autogen_51367_5000(i8) {
 BB:
index 8234fcc67e0878133b7177e3270402bb583a8080..29e0c0416e67b708402854c776bd1596de7e1c0b 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
-target triple = "x86_64-unknown-linux-gnu"
+target triple = "i686-unknown-linux-gnu"
 
 @c0 = common global i8 0, align 1
 
index b9ac4b63ecf0a196d23d062420f744750374ac81..d9e915a0974b64daa9bfa8babedcd970f18b0ecf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 < %s
+; RUN: llc -mtriple=i686-- < %s
 ; PR13220
 
 define <8 x i32> @foo(<8 x i96> %x) {
index 31674546423eb0aad310723fb7d1f7260fc780a3..1ba962c941784cf86ca6c745d7d6665e24c5211b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 @temp1 = global i64 -77129852189294865, align 8
 
index 3a829622424c35f98484d43f2005bf982bc7f5ed..75d1959a5af44d7438ae453a54f750c0900fb357 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+avx | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s
 
 declare <16 x i8> @llvm.x86.sse41.pblendvb(<16 x i8>, <16 x i8>, <16 x i8>)
 
index cd8205dbc815ceb8b2bcec608dcf5db42bbaeeb7..36f531db609ce3686106210db41853ab7e1b85e4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -O2 -march=x86-64 -verify-machineinstrs | FileCheck %s
+; RUN: llc < %s -O2 -mtriple=x86_64-- -verify-machineinstrs | FileCheck %s
 
 define void @pr21099(i64* %p) {
 ; CHECK-LABEL: pr21099
index 88c7bb5867017f7af0eee65b4c6d703e0b2f66dd..ec2844c42699776b9286ce75073a0f79ce1dac43 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep sete
+; RUN: llc < %s -mtriple=i686-- | grep sete
 ; PR2326
 
 define i32 @func_59(i32 %p_60) nounwind  {
index 2702eb820f2f134b6b6355d75deb2a9fd7d43db8..5311e9400d913b09aec1016732bb0f611e16d4b1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=i386-unknown-unknown -mcpu=generic -march=x86 -mattr=-sse2 -fast-isel < %s
+; RUN: llc -mtriple=i386-unknown-unknown -mcpu=generic -mattr=-sse2 -fast-isel < %s
 
 ; Verify that the backend doesn't crash during fast-isel with an assertion
 ; failure when selecting a int-to-double conversion. The fast selection routine
index c54ae3d35029c71b89ad52e23d639f3b72c63c3e..f712fcb6a2936ebb5556920097270fcaece391fd 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
+; RUN: llc < %s -mattr=+sse2 | FileCheck %s
 ; PR2656
 
 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-f80:128:128"
index cc8f8475cacfd374ba6ebde1a4df3d7d9b13441a..05acbc8e90101f562784a1e3f2f591a04bfa6256 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin9.4.0 -disable-branch-fold | FileCheck %s
+; RUN: llc < %s -mtriple=i686-apple-darwin9.4.0 -disable-branch-fold | FileCheck %s
 ; PR2659
 
 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-f80:128:128"
index c47128a51e9addd22a75ef21399b27c0441da760..81a2657fc4a79df20e99eb9908cb7ccf0d757775 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR26652
 
 define <2 x i32> @test(<4 x i32> %a, <4 x i32> %b) {
index b7902b8cc3a072770e00b20fcc33dd6a300e94f9..3fc6f0559bc4c3db5a9d3c23f2e14c6414c33500 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s
 ; PR2982
 
 target datalayout =
index 23dcf5693cd0190c43f1c30fea13d6985f1d7996..237ed7c4d60606feca6ce5f56d2f7693d1f8f427 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s 
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 @foo = global i8 127
 
index f89634d5b82a0779a1548138ccab052e64f3bde6..a324cf2ffa944310d9f3c0aab9896eef63ab9431 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR3241
 
 @g_620 = external global i32
index 483b5bf3a2a69df0325665961ac64c63e891eff8..f5fad20bf7dfe19955b68d05f13723b41cbe1464 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR3243
 
 declare signext i16 @safe_mul_func_int16_t_s_s(i16 signext, i32) nounwind readnone optsize
index c6419d8ce7689a541c421d522aa10d4af39a77ce..166ca90d799549ad721d6a4748650507accdbbad 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR3244
 
 @g_62 = external global i16             ; <i16*> [#uses=1]
index 4ab989eaf77fb48efcdafcd6fcd3daf8ed50c4d0..ab6af4ef5312af1be0eae88811f74256de7c4145 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR3250
 
 declare i32 @safe_sub_func_short_u_u(i16 signext, i16 signext) nounwind
index cab8ae6b73fd68cd1c8776408f923a2d2322d4e1..9c4ba39c02b0120724bc7293c6b281c826923a00 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 ; PR3317
 
 %VT = type [0 x i32 (...)*]
index b89a69ab7d413defc7e85504156a2fe5c2c3445c..f72a35185b475a522250b80324c1513841135c37 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -disable-cgp-branch-opts | grep movzbl
+; RUN: llc < %s -mtriple=i686-- -disable-cgp-branch-opts | grep movzbl
 ; PR3366
 
 define void @_ada_c34002a() nounwind {
index 9e048d59d4ee758028f3723c70c6e9583a5f70f4..d7a332b1fed7a809b65e1a226d064f80371c21d4 100644 (file)
@@ -1,5 +1,5 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -march=x86 -stats 2>&1 | not grep "instructions sunk"
+; RUN: llc < %s -stats 2>&1 | not grep "instructions sunk"
 ; PR3522
 
 target triple = "i386-pc-linux-gnu"
index 259d55b030e5812ada3deb9fb68e70e1611c0a28..7da7c299791e9557d080b08cb18ba3e18120f303 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-- < %s | FileCheck %s
 @sc8 = external global i8
 
 define void @atomic_maxmin_i8() {
index 88404dbe125eb545ea2526ce0369d4ffb2826054..13cece8a33661abb922d87ee4a016f96fab80485 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin -pre-RA-sched=fast \
+; RUN: llc < %s -mtriple=i686-apple-darwin -pre-RA-sched=fast \
 ; RUN: | FileCheck %s
 ; make sure scheduler honors the flags clobber.  PR 7882.
 
index d6571acbbb7e0864d7ba111d3afacd62da23ae46..17a9ac994a79dfb88e761e3df69e0f91f99afb98 100644 (file)
@@ -1,9 +1,9 @@
-; RUN: llc < %s -march=x86 -mattr=+sse | FileCheck %s
-; RUN: llc < %s -march=x86 -mattr=+avx | FileCheck %s
-; RUN: llc < %s -march=x86 -mattr=+sse -mattr=+prfchw | FileCheck %s -check-prefix=PRFCHW
-; RUN: llc < %s -march=x86 -mcpu=slm | FileCheck %s -check-prefix=SLM
-; RUN: llc < %s -march=x86 -mcpu=btver2 | FileCheck %s -check-prefix=PRFCHW
-; RUN: llc < %s -march=x86 -mcpu=btver2 -mattr=-prfchw | FileCheck %s -check-prefix=NOPRFCHW
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+avx | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse -mattr=+prfchw | FileCheck %s -check-prefix=PRFCHW
+; RUN: llc < %s -mtriple=i686-- -mcpu=slm | FileCheck %s -check-prefix=SLM
+; RUN: llc < %s -mtriple=i686-- -mcpu=btver2 | FileCheck %s -check-prefix=PRFCHW
+; RUN: llc < %s -mtriple=i686-- -mcpu=btver2 -mattr=-prfchw | FileCheck %s -check-prefix=NOPRFCHW
 
 ; rdar://10538297
 
index a20557a1fef23c22e7c9669ee7cf1d6376e7afd4..d42108e5b508878aff40d98ef4fb27f160b28c79 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 
 define<4 x i8> @func_8_64() {
   %F = load <4 x i64>, <4 x i64>* undef
index 38cdc14b380f9681df6d18bdc228297851ba8d85..37dfc881a59ac158cfd8edc3551688f14981d62d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 | FileCheck %s
+; RUN: llc < %s -mcpu=corei7 | FileCheck %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i8:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
index 84c69e32bcc3fad856041c25d414e34c8e3056f5..3f181b43c78106b2aaeb80e530f19ad014e64a84 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 -debug
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7 -debug
 
 ; REQUIRES: asserts
 
index 972372151bcf0aaba662b137bc496dbad07b4143..c49d5c91f61e50e38b54372c3a8586257ca8690b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 %struct.obj = type { i64 }
 
index 7f1ca469c0b62d8b30702a097fbdeefa2963cebf..8c2e0711218eb201f9856b14fdd15f324b42b46f 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86-64 -mcpu=generic | FileCheck %s --check-prefix=CHECK --check-prefix=X86-64
-; RUN: llc < %s -march=x86 -mcpu=generic | FileCheck %s --check-prefix=CHECK --check-prefix=X86
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=generic | FileCheck %s --check-prefix=CHECK --check-prefix=X86-64
+; RUN: llc < %s -mtriple=i686-- -mcpu=generic | FileCheck %s --check-prefix=CHECK --check-prefix=X86
 
 ; Verify that we correctly lower the "Read Performance-Monitoring Counters"
 ; x86 builtin.
index dba614ad104ece72445370a81d989a5394a0d5ed..7b885a6248ebb00c4f26f1916e88103f37bdb60c 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86-64 -mcpu=generic | FileCheck %s
-; RUN: llc < %s -march=x86 -mcpu=generic | FileCheck %s --check-prefix=CHECK --check-prefix=X86
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=generic | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=generic | FileCheck %s --check-prefix=CHECK --check-prefix=X86
 
 ; Verify that we correctly lower ISD::READCYCLECOUNTER.
 
index 8f352b8fbb5ad3c0fa45527d1f768e5029225a05..eabcbe95b773931c3d5cb0030616903aa0697ad0 100644 (file)
@@ -2,7 +2,7 @@
 ;; Both functions in this testcase should codegen to the same function, and
 ;; neither of them should require spilling anything to the stack.
 
-; RUN: llc < %s -march=x86 -stats 2>&1 | \
+; RUN: llc < %s -mtriple=i686-- -stats 2>&1 | \
 ; RUN:   not grep "Number of register spills"
 
 ;; This can be compiled to use three registers if the loads are not
index a5529a769a0bb185b92ffcc9212f02a505d4ad23..05a613c8adb805722cc208aba135f838f8bac5b0 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=i686--
+; RUN: llc < %s -mtriple=x86_64--
 
 define i8 @test_minsize_uu8(i8 %x) minsize optsize {
 entry:
index b7b57ab3b842fd094a8ddaf64273c67d8b4af187..cf164cc567a1261d2de0d9c0fc335882b31041c1 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -disable-fp-elim -march=x86 | not grep xor
-; RUN: llc < %s -disable-fp-elim -march=x86-64 | not grep xor
+; RUN: llc < %s -disable-fp-elim -mtriple=i686-- | not grep xor
+; RUN: llc < %s -disable-fp-elim -mtriple=x86_64-- | not grep xor
 
 define i8* @h() nounwind readnone optsize {
 entry:
index bca0f056b90de3c186d378fbd1cfa02d9c56be0e..be82129de21fd64de1cba0f85d8b5e6dd0236cc3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep xor | count 2
+; RUN: llc < %s -mtriple=i686-- | grep xor | count 2
 
 define i64 @foo() nounwind {
   ret i64 0
index b49d597d9f0589ade91590e4f76d29c8f905c712..5a2f2627d3b636f11bc6a584edd53b70989345a3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -relocation-model=pic -mtriple=x86_64-apple-darwin10 | FileCheck %s -check-prefix=PIC64
+; RUN: llc < %s -relocation-model=pic -mtriple=x86_64-apple-darwin10 | FileCheck %s -check-prefix=PIC64
 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -relocation-model=static | FileCheck %s -check-prefix=STATIC64
 
 ; Use %rip-relative addressing even in static mode on x86-64, because
index 6d7c702afc406f4ec8e9234668fcd3a2844cb81d..de08a3e35bea6c6e062702f5c3a8337d82757815 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=generic | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=generic | FileCheck %s
 
 define i16 @foo(i16 %x, i16 %y, i16 %z) nounwind readnone {
 entry:
index 79ecbe0514d0b562792ebef7a0751169e076591d..4f2ed2d61e83ae51212a3b63e0e0802891acddbb 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86 -mcpu=corei7 | FileCheck %s
-; RUN: llc < %s -march=x86 -mcpu=corei7-avx | FileCheck %s --check-prefix=SHLD
-; RUN: llc < %s -march=x86 -mcpu=core-avx2 | FileCheck %s --check-prefix=BMI2
+; RUN: llc < %s -mtriple=i686-- -mcpu=corei7 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=corei7-avx | FileCheck %s --check-prefix=SHLD
+; RUN: llc < %s -mtriple=i686-- -mcpu=core-avx2 | FileCheck %s --check-prefix=BMI2
 
 define i32 @foo(i32 %x, i32 %y, i32 %z) nounwind readnone {
 entry:
index 976acbb01675395eb2f9e296e91e412d81e39a43..382d242c4f0a9dda462bd0694655e9e773753cba 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=corei7-avx | FileCheck %s --check-prefix=SHLD
-; RUN: llc < %s -march=x86-64 -mcpu=core-avx2 | FileCheck %s --check-prefix=BMI2
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7-avx | FileCheck %s --check-prefix=SHLD
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=core-avx2 | FileCheck %s --check-prefix=BMI2
 
 define i64 @foo(i64 %x, i64 %y, i64 %z) nounwind readnone {
 entry:
index 2316c708507a6539c24282d51ee884e35c0ea004..73f11ab1f3636d902163723ef1fb48dfddf388a2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7 | grep rol | count 2
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7 | grep rol | count 2
 
 define i64 @test1(i64 %x) nounwind  {
 entry:
index 7191e0453a66895578b7fce55b853f9b614a033a..e293bd606d0baeaac8cb9f202195f4e7204ead88 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 ; CHECK-LABEL: test
 define i64 @test(i64 %a, i256 %b, i1 %c) {
index b8ef5e74c436c657a24e96fdd9cdb8d626c5627d..dd1b9a55eafc2c58e98624d97be638be970a1518 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx -o %t
+; RUN: llc < %s -mtriple=i686-- -mattr=+mmx -o %t
 ; RUN: not grep movq  %t
 
 ; Check that widening doesn't introduce a mmx register in this case when
index 5ca3f85ce029897fca03005b1e9108ccff7cc382..6a619f7f2c88671121d50f0039fb9e6bd4804828 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse,+sse2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse,+sse2 | FileCheck %s
 
 define float @min1(float %x, float %y) {
 ; CHECK-LABEL: min1
index 1671f8f891086c410b01538e1acfe4a89ca34a2c..8945530648b13d1b25f5eb526b37cf7430004b2b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+sse4.2 |  FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse4.2 |  FileCheck %s
 
 ; Verify when widening a divide/remainder operation, we only generate a
 ; divide/rem per element since divide/remainder can trap.
index 60650f46302f79ea137e40a8ccf6c8d50fa33b17..25cfaa2f353d710f2b723ab5372082cad6d570e4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s
 ; PR3886
 
 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-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
index 98471ee90d537a4edb44d50cf8c27fb0cffa6b54..d62f07fa0f7decb1a527167bd82bc619bd617bcb 100644 (file)
@@ -1,8 +1,8 @@
-; RUN: llc -march=x86-64 < %s -pre-RA-sched=list-ilp    | FileCheck %s
-; RUN: llc -march=x86-64 < %s -pre-RA-sched=list-hybrid | FileCheck %s
-; RUN: llc -march=x86-64 < %s -pre-RA-sched=source      | FileCheck %s
-; RUN: llc -march=x86-64 < %s -pre-RA-sched=list-burr   | FileCheck %s
-; RUN: llc -march=x86-64 < %s -pre-RA-sched=linearize   | FileCheck %s
+; RUN: llc -mtriple=x86_64-- < %s -pre-RA-sched=list-ilp    | FileCheck %s
+; RUN: llc -mtriple=x86_64-- < %s -pre-RA-sched=list-hybrid | FileCheck %s
+; RUN: llc -mtriple=x86_64-- < %s -pre-RA-sched=source      | FileCheck %s
+; RUN: llc -mtriple=x86_64-- < %s -pre-RA-sched=list-burr   | FileCheck %s
+; RUN: llc -mtriple=x86_64-- < %s -pre-RA-sched=linearize   | FileCheck %s
 
 ; PR22304 https://llvm.org/bugs/show_bug.cgi?id=22304
 ; Tests checking backtracking in source scheduler. llc used to crash on them.
index a6ace5bc31c1ab75da41c20c63ce2a9bba732493..6efe867b9d49c1ab6242bfc5c0241b158e88e058 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -mattr=+sse2 < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- -mattr=+sse2 < %s | FileCheck %s
 
 define i32 @test1(i32 %x) {
   %div = sdiv exact i32 %x, 25
index e89f76931e18381394279964d40058fccfcd24b7..d3042f6ca4ba860ef475200f894222aceb59ea03 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- < %s | FileCheck %s
 
 ; No attributes, should not use idiv
 define i32 @test1(i32 inreg %x) {
index aa2f0af55cc952519357244ceea7bd104c7ee792..5c2f1d5c5da5a435df7415ed9f64781d79991674 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | FileCheck %s
 
 define zeroext i8 @t(double %x) nounwind readnone {
 entry:
index 4ca2f1871c0f5841a4ed489c7e40c4f6d1f132b7..96187198ac6fea21603c2a3fc028abeb0513e5d1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86  | not grep set
+; RUN: llc < %s -mtriple=i686--  | not grep set
 
 declare i1 @llvm.isunordered.f32(float, float)
 
index 2ea6e012192e03089c56923e2e2dd5fca71c7645..4300c8f3a713bd880ab1ef6ccb8dc7758e54b590 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 ; When doing sign extension, use the sext-load lowering to take advantage of
 ; x86's sign extension during loads.
index e0c8ff9b5e0845988fc314c71b32aec29b06a9bd..f96f5b2a7c94e9f24427699fad6de72e6d2a256a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 ; rdar://7529457
 
 define i64 @t(i64 %A, i64 %B, i32* %P, i64 *%P2) nounwind {
index dee7d373dceea2d35489bbfe88f40ab5c6e9d2d2..7f2c3b5a0752e5093518c88ed975b88462047e1e 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86 -x86-asm-syntax=intel | \
+; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel | \
 ; RUN:   grep "shld.*cl"
-; RUN: llc < %s -march=x86 -x86-asm-syntax=intel | \
+; RUN: llc < %s -mtriple=i686-- -x86-asm-syntax=intel | \
 ; RUN:   not grep "mov cl, bl"
 
 ; PR687
index 802277ea112144e95c4f3e06c4eb4c181be53448..9c69aab5b3d15671705c6d4de9bcd682ad6ab905 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=i686--
+; RUN: llc < %s -mtriple=x86_64--
 
 ;
 ; Scalars
index 866e7e67fb0a9e8872be02aa52c17d069767529a..4fa3303baf0487e198cc228bff8b277fcb381d4e 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=x86        | FileCheck %s
-; RUN: llc < %s -march=x86-64 -O0 | FileCheck %s -check-prefix=CHECK-X64
-; RUN: llc < %s -march=x86-64 -O2 | FileCheck %s -check-prefix=CHECK-X64
+; RUN: llc < %s -mtriple=i686--        | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -O0 | FileCheck %s -check-prefix=CHECK-X64
+; RUN: llc < %s -mtriple=x86_64-- -O2 | FileCheck %s -check-prefix=CHECK-X64
 
 ; CHECK-LABEL: shift1
 define void @shift1(i256 %x, i256 %a, i256* nocapture %r) nounwind readnone {
index 1ff02eb53e934fa56a9efe1debb26b30ee7f10cc..d961eb1451b936d86283cc235f85f062f1e9c246 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep leal
+; RUN: llc < %s -mtriple=i686-- | not grep leal
 
 @x = external global i32                ; <i32*> [#uses=1]
 
index 62e51f002f7daff690931039ad65faa9c1d45215..01ebfcd321f6cc88cfe58d34400b158d7eafe723 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 define i64 @test(i64 %A) {
 ; CHECK: @test
index 0b25a7595f2ac57a6b8b59c0c8b4d89515c67c54..678866979814f1ff617cb51ad4f29733accef539 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-- < %s | FileCheck %s
 ; PR4736
 
 %0 = type { i32, i8, [35 x i8] }
index 0a5d047d23d360de8a594918a1714ca3ba2886af..dbf560c6267eb039f04811b57115cadd8e1b781b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-- < %s | FileCheck %s
 
 ; Codegen should be able to use a 32-bit shift instead of a 64-bit shift.
 ; CHECK: shll $16
index 849912cc12e90004061a32f5149f4f740475163f..9326cc2d3eccdb6d32d963334973663107104523 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -mattr=+sse2 < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- -mattr=+sse2 < %s | FileCheck %s
 
 ; Make sure that we don't generate an illegal i64 extract after LegalizeType.
 ; CHECK: shll
index 4762b13b516f77d2607a650319639063ac4ca6bb..ed67a09f06c630d5ec898f32e406db3b354e4f7c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 define i32 @test1(i64 %a) nounwind {
         %tmp29 = lshr i64 %a, 24                ; <i64> [#uses=1]
index 49b9fa3c4129a66305b740d035a14076d5540956..ba769c194a52c8438e7886888c445fd3fb337b14 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+sse2 | not grep cvtss2sd
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | not grep cvtss2sd
 ; PR1264
 
 define double @foo(double %x) {
index 3d5203be09a0951eaccdc1869d6580bd6dd00809..b62a69cab18ae5ea53df6ce65a6804c058b6247e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep flds
+; RUN: llc < %s -mtriple=i686-- | grep flds
 ; This should be a flds, not fldt.
 define x86_fp80 @test2() nounwind  {
 entry:
index 972fbdf48cb56c2dd8ade95e741a1d18ea502e06..8111aa72b6e773ac17c39a4fc5a165855f6bcdd2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -verify-machineinstrs -march=x86-64 -asm-verbose=false -mtriple=x86_64-unknown-linux-gnu -mcpu=nehalem -post-RA-scheduler=true -schedmodel=false | FileCheck %s
+; RUN: llc < %s -verify-machineinstrs -asm-verbose=false -mtriple=x86_64-unknown-linux-gnu -mcpu=nehalem -post-RA-scheduler=true -schedmodel=false | FileCheck %s
 
 ; Currently, floating-point selects are lowered to CFG triangles.
 ; This means that one side of the select is always unconditionally
index 2b21f4ff84e9d3e747bcbbe1329b185350ccdc3c..7154a896a359de132330a7f04047d02d33c7494d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 @ok = internal constant [4 x i8] c"%d\0A\00"
 @no = internal constant [4 x i8] c"no\0A\00"
index 138e66c394baa7a29a7ab4a47b206d3025ce3678..134b24c73b600e75f6933177fe40a8de1d0e18be 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: llc < %s -march=x86    -mattr=+mmx,+sse,+soft-float \
+; RUN: llc < %s -mtriple=i686--    -mattr=+mmx,+sse,+soft-float \
 ; RUN:     | FileCheck %s --check-prefix=SOFT1 --check-prefix=CHECK
-; RUN: llc < %s -march=x86-64 -mattr=+mmx,+sse2,+soft-float \
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+mmx,+sse2,+soft-float \
 ; RUN:     | FileCheck %s --check-prefix=SOFT2 --check-prefix=CHECK
-; RUN: llc < %s -march=x86-64 -mattr=+mmx,+sse \
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+mmx,+sse \
 ; RUN:     | FileCheck %s --check-prefix=SSE1 --check-prefix=CHECK
-; RUN: llc < %s -march=x86-64 -mattr=+mmx,+sse2 \
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+mmx,+sse2 \
 ; RUN:     | FileCheck %s --check-prefix=SSE2 --check-prefix=CHECK
 ; RUN: llc < %s -mtriple=x86_64-gnux32 -mattr=+mmx,+sse2,+soft-float | FileCheck %s
 
index 8d80754b9a3593cd412b32e8b38a01590027219a..1ad71600324dfc9a2cf011aaae3570997be4b492 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=-sse2,+sse | grep addps
+; RUN: llc < %s -mtriple=i686-- -mattr=-sse2,+sse | grep addps
 
 ; PR10497 + another isel issue with sse2 disabled
 ; (This is primarily checking that this construct doesn't crash.)
index 681c6b0beaa09570d549622d45713c8c273c2d3d..0e51dbf78bd0dfdb32a02b69b36a3ae42d257ebc 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86-64 | grep div | count 16
-; RUN: llc < %s -march=x86-64 | grep fmodf | count 8
+; RUN: llc < %s -mtriple=x86_64-- | grep div | count 16
+; RUN: llc < %s -mtriple=x86_64-- | grep fmodf | count 8
 
 define <8 x i32> @foo(<8 x i32> %t, <8 x i32> %u) {
        %m = srem <8 x i32> %t, %u
index 1a6058c6114cb25c0065aef6a35bf35e93174ba6..378100d693ba934a76c10022cb267d2e3b5d2df3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep movap | count 2
+; RUN: llc < %s -mtriple=x86_64-- | grep movap | count 2
 
 define <4 x float> @foo(<4 x float>* %p) nounwind {
   %t = load <4 x float>, <4 x float>* %p
index 1e688a56ad449d168b9e77c6581c3f5023cb3f28..48e405d792edcba84db5e937a0523172bb2f170a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 define <2 x i64> @bar(<2 x i64>* %p) nounwind {
 ; CHECK-LABEL: bar:
index 9f5d4b40d61a0f48e867f4246f420483eea58417..857ea45081729c036c40b12d920e3b73de4e2d93 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-apple-darwin8 | grep movaps
-; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-linux-gnu | grep movaps
+; RUN: llc < %s -mcpu=yonah -mtriple=i686-apple-darwin8 | grep movaps
+; RUN: llc < %s -mcpu=yonah -mtriple=i686-linux-gnu | grep movaps
 ; PR8969 - make 32-bit linux have a 16-byte aligned stack
 
 define <4 x float> @foo(float %a, float %b, float %c, float %d) nounwind {
index 4fbb6e42ccae5f12ced48b00f600ad0dbd8f7c8c..1ccb5ed4e6f3428b1a455c4c507e418ef05f6c42 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-unknown-unknown -march=x86-64 -mcpu=nehalem | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mcpu=nehalem | FileCheck %s
 
 define <4 x float> @a(<4 x float>* %y) nounwind {
 ; CHECK-LABEL: a:
index 063cc9d2f563a99c9d8db91ccf5fbc48b1409036..af548be6c051ed8d64beb30ffacdab63aa312ace 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=penryn | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=penryn | FileCheck %s
 
 define <4 x float> @foo(<4 x float>* %p, <4 x float> %x) nounwind {
   %t = load <4 x float>, <4 x float>* %p, align 4
index 4c59934917f313e94c42a4aaca903528f2a65a97..8edafd96983d1d9b31adb8e95246a2e21486a253 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep movup | count 2
+; RUN: llc < %s -mtriple=x86_64-- | grep movup | count 2
 
 define void @foo(<4 x float>* %p, <4 x float> %x) nounwind {
   store <4 x float> %x, <4 x float>* %p, align 4
index a64b953220d57bf6e3b939895b007aecd5cd0b5c..4429d457950aa1d180fa4454ac092d032b4e68e2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep movaps | count 1
+; RUN: llc < %s -mtriple=x86_64-- | grep movaps | count 1
 
 define <2 x i64> @bar(<2 x i64>* %p) nounwind {
   %t = load <2 x i64>, <2 x i64>* %p
index 01f225101b9679129f501f41cc2af43635ae5b38..343832c746488c76eaf7da08e98e132ae458caca 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep movdqu | count 1
+; RUN: llc < %s -mtriple=x86_64-- | grep movdqu | count 1
 
 define <2 x i64> @bar(<2 x i64>* %p, <2 x i64> %x) nounwind {
   %t = load <2 x i64>, <2 x i64>* %p, align 8
index cfeff8161c5c006e16a3dee934320780f87928e1..60aa22b7e196c3eb742d69e5dd1d63572c5010b2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep movups | count 1
+; RUN: llc < %s -mtriple=x86_64-- | grep movups | count 1
 
 define void @bar(<2 x i64>* %p, <2 x i64> %x) nounwind {
   store <2 x i64> %x, <2 x i64>* %p, align 8
index 182c91c69d9357c1e8e6d78a3efb20529ed478ae..afec18ef578fd4d953dcc27a92f7528f19a0b0b6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep movup | count 2
+; RUN: llc < %s -mtriple=x86_64-- | grep movup | count 2
 
 define <4 x float> @foo(<4 x float>* %p) nounwind {
   %t = load <4 x float>, <4 x float>* %p, align 4
index 8da45a786e7c4f82e253e985622880f3fe988932..a84201a9a11d42c06d00c1a6846b9849e7bf2991 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah | not grep movss
-; RUN: llc < %s -march=x86 -mcpu=yonah | not grep xmm
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | not grep movss
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | not grep xmm
 
 define double @test1(double* %P) {
         %X = load double, double* %P            ; <double> [#uses=1]
index 3fe9faaba850d843cadd4802690337467d4a4ba2..9c4574365b43f367c532b74cc35afca9af67b9b9 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -march=x86 -mattr=+sse2,-mmx | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2,-mmx | FileCheck %s
 
 ; Test that turning off mmx doesn't turn off sse
 
index 1c61a515f383963f2996f0bb43efd09735b18eda..a5f62dde81fe4132e45df97b8a9063c4779be4c7 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc -mcpu=yonah -mattr=sse-unaligned-mem -march=x86 < %s | FileCheck %s
+; RUN: llc -mcpu=yonah -mattr=sse-unaligned-mem < %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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
-target triple = "x86_64-unknown-linux-gnu"
+target triple = "i686-unknown-linux-gnu"
 
 define <4 x float> @foo(<4 x float>* %P, <4 x float> %In) nounwind {
        %A = load <4 x float>, <4 x float>* %P, align 4
index 7c3c78113def14a1f9bdd6fd2860fe50f899fba4..3d1bec88e396d1738efb77b56a32de2188f2a0e5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | grep xmm | grep esp
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | grep xmm | grep esp
 
 define i32 @t() nounwind  {
 entry:
index f3f9eebb26c4977ec9aef595bfebd554e21445c6..7578e22225b8cb2d879fa106d7ce7f9b4ed4b953 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple i386-unknown-freebsd10.0 -march=x86 --relocation-model=pic %s -o -
+; RUN: llc -mtriple i386-unknown-freebsd10.0 --relocation-model=pic %s -o -
 
 ; PR16979
 
index aea85b94d41401b67753173c54e82c6bd8ba5ac6..95d3bee98a5879cdc1e69d61a61bad649fe7f34a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 ; Don't crash on an empty struct member.
 
index 71df8d3109e6136e94d3edcf93f8dd10bfc12c25..caf3c28c32758282c706ba690f215d23ced2db04 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 ; CHECK-NOT: rodata
 ; CHECK-NOT: literal
index c8d4cbceea3dad6ce8760ec3bae58749cb844996..31bb0d59c9305037311814e5c23d74f869cf76f3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep movl | count 1
+; RUN: llc < %s -mtriple=i686-- | grep movl | count 1
 
 @dst = global i32 0             ; <i32*> [#uses=1]
 @ptr = global i32* null         ; <i32**> [#uses=1]
index 5e9e1e364fef4be2af43f59d73515698d27e2c1f..9fc166a533e4c1e7d6402bf49bb2eab898ba1c94 100644 (file)
@@ -1,9 +1,8 @@
 ; rdar://7860110
-; RUN: llc -asm-verbose=false < %s | FileCheck %s -check-prefix=X64
-; RUN: llc -march=x86 -asm-verbose=false -fixup-byte-word-insts=1 < %s | FileCheck %s -check-prefix=X32 -check-prefix=X32-BWON
-; RUN: llc -march=x86 -asm-verbose=false -fixup-byte-word-insts=0 < %s | FileCheck %s -check-prefix=X32 -check-prefix=X32-BWOFF
+; RUN: llc -mtriple=x86_64-apple-darwin10.2 -asm-verbose=false < %s | FileCheck %s -check-prefix=X64
+; RUN: llc -mtriple=i686-apple-darwin10.2 -asm-verbose=false -fixup-byte-word-insts=1 < %s | FileCheck %s -check-prefix=X32 -check-prefix=X32-BWON
+; RUN: llc -mtriple=i686-apple-darwin10.2 -asm-verbose=false -fixup-byte-word-insts=0 < %s | FileCheck %s -check-prefix=X32 -check-prefix=X32-BWOFF
 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
-target triple = "x86_64-apple-darwin10.2"
 
 define void @test1(i32* nocapture %a0, i8 zeroext %a1) nounwind ssp {
 entry:
index 03ad093ba8607c4b71542d729b80a4f2eb80d9b0..0ead0bab410d898d54420f30824af0c7f056fc75 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep flds
+; RUN: llc < %s -mtriple=i686-- | not grep flds
 
 define void @foo(x86_fp80 %a, x86_fp80 %b, float* %fp) {
        %c = fadd x86_fp80 %a, %b
index 551bd7c2541e0d9cbea6783080484f2aa6b16832..7c8f362a2cfc13543c879aca468720cde46e22f3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -relocation-model=static | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -relocation-model=static | FileCheck %s
 ; RUN: llc < %s -mtriple=x86_64-linux               | FileCheck %s
 ; CHECK-NOT:     lea
 
index af036f3a8f14b36d414efc6fee1fa6cc8aa550c8..986207428cc7bec4432d114adff0259980346093 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mcpu=generic -march=x86            | FileCheck %s
+; RUN: llc < %s -mcpu=generic -mtriple=i686--            | FileCheck %s
 ; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux | FileCheck %s
 ; CHECK-NOT:     lea
 
index 3cf79a3deca2742fb3f91f8b44b45696ade9c2d0..3251cb606802a194489923074f0a54c6843ff17c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- < %s | FileCheck %s
 
 define i32 @test1(i32 %x) {
   %xor = xor i32 %x, 31
index 251a754f43833ece035c07ed27853facacf420e9..bd6007629648b99e8f6046cfc70a94d9b4e33262 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep mov | count 1
+; RUN: llc < %s -mtriple=x86_64-- | grep mov | count 1
 
 ; Do eliminate the zero-extension instruction and rely on
 ; x86-64's implicit zero-extension!
index 2931bab0cdd1a9bc0c1f782c0dea8499e25fb15c..8acdb6176f575efa8f64793c1ffca552491e42e4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 ; CHECK:     {{leal    .*[)], %e.*}}
 ; CHECK-NOT: {{leal    .*[)], %e.*}}
index 80ab1a2e2494273e4a0e996f8e3fa2110bacf389..db9d0d12c3d761371c2348b7e3bb0167b6f4a56e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 
 ; CHECK: imull
 
index 8340fc53614013a995ebd918a3f4b7b1ae01bbee..2a9a490c570d03b7ac09b07d94a1b2f182438b49 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 > %t
+; RUN: llc < %s -mtriple=x86_64-- > %t
 ; RUN: not grep leaq %t
 ; RUN: not grep incq %t
 ; RUN: not grep decq %t
index bef09fa944ef01d11bc122030915676782dd0517..6e4e24c08b6bf0d01f2fedd0a5761cdfcd0f5684 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 
 define i64 @foo() nounwind {
 entry:
index e4fbbeb26c3a518d8be526dbbc4a65627169dc56..6c732c9874df6bb23b1f8837f77703de1f555377 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 -asm-verbose=false < %s -jump-table-density=40 | FileCheck %s
+; RUN: llc -mtriple=x86_64-- -asm-verbose=false < %s -jump-table-density=40 | FileCheck %s
 
 ; This switch should use bit tests, and the third bit test case is just
 ; testing for one possible value, so it doesn't need a bt.
index e9a208d709ef66931a55941475946c15904f290a..888edbcaaec6b7e48b0ef3b1191e0b23e9bd64b0 100644 (file)
@@ -1,5 +1,5 @@
 ; PR925
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s | FileCheck %s
 
 ; CHECK:      {{mov.*str1}}
 ; CHECK-NOT:  {{mov.*str1}}
index 360ace5b787f6d1b5bac699559c6e18a8c25aed5..4310e40b57a6d8be83495dc9e51e8da886f51c93 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -O0 -fast-isel=false -march=x86 < %s | FileCheck %s
+; RUN: llc -O0 -fast-isel=false -mtriple=i686-- < %s | FileCheck %s
 
 ; No need for branching when the default and only destination follows
 ; immediately after the switch.
index 3679433c372f2afdf83625934c3be4402e0f701b..861bd1289eb52a989b190acd7513a2b86421a5c3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 -print-machineinstrs=expand-isel-pseudos %s -o /dev/null 2>&1 | FileCheck %s
+; RUN: llc -mtriple=x86_64-- -print-machineinstrs=expand-isel-pseudos %s -o /dev/null 2>&1 | FileCheck %s
 
 declare void @foo(i32)
 
index 4642accfff8d96672ae36ec0cfd008bd2867f03d..c0501c315bcd9de36dff2835c7afc20e15f5af37 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -asm-verbose=false < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- -asm-verbose=false < %s | FileCheck %s
 
 ; Check that merging switch cases that differ in one bit works.
 ; CHECK-LABEL: test1
index 2dd3f0e3ae72af64fbca8122873ccfab0973963b..68cfade0484eb54fd6745276e456cf9876da2ed0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep mov | count 1
+; RUN: llc < %s | grep mov | count 1
 
 ; Do zextload, instead of a load and a separate zext.
 
index 119610430b18c80d2464f02fe081903dbe4dcedc..a5ae82db11fa137787b28cf1ce835f04fe19a22b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -o - < %s | FileCheck %s
+; RUN: llc -mtriple=i686-- -o - < %s | FileCheck %s
 
 ; This used to be classified as a tail call because of a mismatch in the
 ; arguments seen by Analysis.cpp and ISelLowering. As seen by ISelLowering, they
index c5ca6fc5750c378ab132cc29247fb29b44ad55bc..5e0e8a229a562d71395d68a41d305269b92e11b3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -stop-after=tailduplication -march=x86-64 < %s | FileCheck %s
+; RUN: llc -stop-after=tailduplication < %s | FileCheck %s
 ;
 ; Check that DebugLoc attached to the branch instruction of 
 ; 'while.cond1.preheader.lr.ph' survives after tailduplication pass.
index 96ff33ff5f7d79d19f0c670680314a9c37e4dbe4..28749b33cfa096f53bf1d48b92ed7f7bcf776fc8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-unknown-linux-gnu -asm-verbose=false -post-RA-scheduler=true | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -asm-verbose=false -post-RA-scheduler=true | FileCheck %s
 
 declare void @bar(i32)
 declare void @car(i32)
index c748bcef36dc6ddb5fc027090d2a0e8d1430656d..1bb330bbe6a0f681f870b915fa6885988668935b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86 -tailcallopt -mcpu=core < %s | FileCheck %s
+; RUN: llc -tailcallopt -mcpu=core < %s | FileCheck %s
 
 target triple = "i686-apple-darwin"
 
index 62c40164d7988797fd3b1da96dd503b306138199..62dd053c2a817f83dd3c7b9de7eee8855da54eaf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 ; CHECK: rBM_info
 ; CHECK-NOT: ret
 
index 36a38e0b69d06e6e678e62209324587c4106b41c..1f49aee900aafdcc0f05239d768eceb7af89bfb3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -tailcallopt | grep TAILCALL | count 7
+; RUN: llc < %s -mtriple=i686-- -tailcallopt | grep TAILCALL | count 7
 
 ; With -tailcallopt, CodeGen guarantees a tail call optimization
 ; for all of these.
index 22a7930ba8770365f0c0db503ccb77399c7f6d79..e42d5d5a9be9edb936dceebec60cc11eb26fe68e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -tailcallopt | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -tailcallopt | FileCheck %s
 define fastcc i32 @bar(i32 %X, i32(double, i32) *%FP) {
      %Y = tail call fastcc i32 %FP(double 0.0, i32 %X)
      ret i32 %Y
index 9ef0d27f7de6dbd1a45933d2781387d877eb6cc6..d2ed0e62f58b0f5f9b71ac92059e9e414abd3f1a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -tailcallopt | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -tailcallopt | FileCheck %s
 
 declare i32 @putchar(i32)
 
index 12218cc8ec4ac0b8c2724d730e8889c9ff42d112..2ed216484bbc21f044c30b1150203efd1369c387 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=x86_64-unknown-unknown -march=x86-64 -mattr=+tbm < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-unknown-unknown -mattr=+tbm < %s | FileCheck %s
 
 define i32 @test_x86_tbm_bextri_u32(i32 %a) nounwind readnone {
 entry:
index 19fbaafc194f4f8d01fadb47c16cf2f29384b50b..8a49b9c9b25acd1b7191cbf7ddfe30977e204853 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | FileCheck %s
 ; rdar://5752025
 
 ; We want:
index c9b76c88c1a2995976b6fa3a127bc79130a09411..6d5bfd86fc4546d6cef1e59a3486f3c7c382c252 100644 (file)
@@ -1,6 +1,6 @@
 ; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s --check-prefix=CHECK-64
 ; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s --check-prefix=CHECK-64
-; RUN: llc < %s -march=x86 | FileCheck %s --check-prefix=CHECK-32
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s --check-prefix=CHECK-32
 
 ; CHECK-64-LABEL: g64xh:
 ; CHECK-64:   testb $8, {{%ah|%ch}}
index 9e946ae4ca3344a3c249d2b360d113d642cb8843..c085a422295d954bb881b1d8bb7f7358db1c09ad 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=corei7-avx | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=corei7-avx | FileCheck %s
 
 ; testb should be scheduled right before je to enable macro-fusion.
 
index e90b8914ab28514c73ee096a2a707c9f35bbf064..7a767cabb058a0fd8b408465b408b296ba68b854 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -emulated-tls -march=x86 -mtriple=x86_64-linux-android -relocation-model=pic | FileCheck  %s
-; RUN: llc < %s -emulated-tls -march=x86-64 -mtriple=x86_64-linux-android -relocation-model=pic | FileCheck  %s
+; RUN: llc < %s -emulated-tls -mtriple=i686-linux-android -relocation-model=pic | FileCheck  %s
+; RUN: llc < %s -emulated-tls -mtriple=x86_64-linux-android -relocation-model=pic | FileCheck  %s
 
 ; Make sure that some symboles are not emitted in emulated TLS model.
 
index 53717f564facd2ac751bb697f45562dd9beeaf51..ecb9b430a7c08536d3fe18bdf7f4708df8d50cde 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -emulated-tls -march=x86 -mtriple=x86_64-linux-android -relocation-model=pic | FileCheck  %s
-; RUN: llc < %s -emulated-tls -march=x86-64 -mtriple=x86_64-linux-android -relocation-model=pic | FileCheck -check-prefix=X64 %s
+; RUN: llc < %s -emulated-tls -mtriple=i686-linux-android -relocation-model=pic | FileCheck  %s
+; RUN: llc < %s -emulated-tls -mtriple=x86_64-linux-android -relocation-model=pic | FileCheck -check-prefix=X64 %s
 
 ; Make sure that TLS symboles are emitted in expected order.
 
index 1f1b41a8a6d41370ee2b7b7732fe3ace3b1ac601..711376303a8cbd340d57eeff7544d619101c1362 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck  %s
+; RUN: llc < %s -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck  %s
 
 @x = internal thread_local global i32 0, align 4
 @y = internal thread_local global i32 0, align 4
index 2377da4f025a40293957e7133e7ad31edf84ba2f..e0c3f05ad056cb229d09de7f653408d7ee4dc0fe 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu | FileCheck -check-prefix=X64 %s
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck -check-prefix=X64_PIC %s
-; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu | FileCheck -check-prefix=X32 %s
-; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -relocation-model=pic | FileCheck -check-prefix=X32_PIC %s
+; RUN: llc < %s -mtriple=x86_64-linux-gnu | FileCheck -check-prefix=X64 %s
+; RUN: llc < %s -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck -check-prefix=X64_PIC %s
+; RUN: llc < %s -mtriple=i386-linux-gnu | FileCheck -check-prefix=X32 %s
+; RUN: llc < %s -mtriple=i386-linux-gnu -relocation-model=pic | FileCheck -check-prefix=X32_PIC %s
 
 ; Darwin always uses the same model.
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin | FileCheck -check-prefix=DARWIN %s
+; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck -check-prefix=DARWIN %s
 
 @external_gd = external thread_local global i32
 @internal_gd = internal thread_local global i32 42
index ac0b43b2402f835eb8c0434948539c8d5d13fbed..15533c94c4dc38a62a10de01de7c86d8f6a54342 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -relocation-model=pic | FileCheck %s --check-prefix=X86
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck %s --check-prefix=X64
+; RUN: llc < %s -mtriple=i386-linux-gnu -relocation-model=pic | FileCheck %s --check-prefix=X86
+; RUN: llc < %s -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck %s --check-prefix=X64
 
 @i = thread_local global i32 15
 @j = internal thread_local global i32 42
index 7a7e40362bcf9516237ee37dd7021cc9ca5d7dc6..b2068ed3b4a0556c3da48f1eec6fec2ecfdc7a00 100644 (file)
@@ -1,7 +1,7 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -march=x86 -mcpu=generic -mtriple=i386-linux-gnu -relocation-model=pic | FileCheck %s --check-prefix=X86
-; RUN: llc < %s -march=x86-64 -mcpu=generic -mtriple=x86_64-linux-gnux32 -relocation-model=pic | FileCheck %s --check-prefix=X32
-; RUN: llc < %s -march=x86-64 -mcpu=generic -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck %s --check-prefix=X64
+; RUN: llc < %s -mcpu=generic -mtriple=i386-linux-gnu -relocation-model=pic | FileCheck %s --check-prefix=X86
+; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux-gnux32 -relocation-model=pic | FileCheck %s --check-prefix=X32
+; RUN: llc < %s -mcpu=generic -mtriple=x86_64-linux-gnu -relocation-model=pic | FileCheck %s --check-prefix=X64
 
 @i = thread_local global i32 15
 @i2 = external thread_local global i32
index d39716aab7643ab048c1bf420933255ae3c43764..ddfebcd0b66a713d611afb312d3bbfe8aa437d85 100644 (file)
@@ -1,9 +1,9 @@
-; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu | FileCheck -check-prefix=X86_LINUX %s
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-linux-gnu | FileCheck -check-prefix=X64_LINUX %s
-; RUN: llc < %s -march=x86 -mtriple=x86-pc-win32 | FileCheck -check-prefix=X86_WIN %s
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-pc-win32 | FileCheck -check-prefix=X64_WIN %s
-; RUN: llc < %s -march=x86 -mtriple=x86-pc-windows-gnu | FileCheck -check-prefix=MINGW32 %s
-; RUN: llc < %s -march=x86-64 -mtriple=x86_64-pc-windows-gnu | FileCheck -check-prefix=X64_WIN %s
+; RUN: llc < %s -mtriple=i386-linux-gnu | FileCheck -check-prefix=X86_LINUX %s
+; RUN: llc < %s -mtriple=x86_64-linux-gnu | FileCheck -check-prefix=X64_LINUX %s
+; RUN: llc < %s -mtriple=i686-pc-win32 | FileCheck -check-prefix=X86_WIN %s
+; RUN: llc < %s -mtriple=x86_64-pc-win32 | FileCheck -check-prefix=X64_WIN %s
+; RUN: llc < %s -mtriple=i686-pc-windows-gnu | FileCheck -check-prefix=MINGW32 %s
+; RUN: llc < %s -mtriple=x86_64-pc-windows-gnu | FileCheck -check-prefix=X64_WIN %s
 
 @i1 = thread_local global i32 15
 @i2 = external thread_local global i32
index 087b68bfce8aad28676100603807b5c2bde9d565..b72bfbbff646ac25b1086960d0e140e176c9b40d 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: llc < %s
+; RUN: llc < %s -mtriple=x86_64--
+; RUN: llc < %s -mtriple=i686--
 
 ; This test verifies that SelectionDAG can handle landingPad of token type and not crash LLVM.
 
index 9da071f7ede68940a77571a6203bab943b5bb536..a5667be299bbba3ff6d6694a1e2f2c5e66ef075e 100644 (file)
@@ -1,5 +1,5 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -march=x86 -mattr=+sse2 -mcpu=penryn -stats 2>&1 | \
+; RUN: llc < %s -mattr=+sse2 -mcpu=penryn -stats 2>&1 | \
 ; RUN:   grep "twoaddressinstruction" | grep "Number of instructions aggressively commuted"
 ; rdar://6480363
 
index f5a7326c970c185938f407f03168a2c255fe9a96..b53ff00dfab5e355c855ffdf0c333bd991a06176 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -relocation-model=pic | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -relocation-model=pic | FileCheck %s
 ; This test is to ensure the TwoAddrInstruction pass chooses the proper operands to
 ; merge and generates fewer mov insns.
 
index c727f34cc9a5d0f2cba54fabf788b0adb42dc56b..81af9181126c107062bf167b272fa1bdf7067321 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep mov | count 2
+; RUN: llc < %s -mtriple=i686-- | grep mov | count 2
 ; rdar://6523745
 
 @"\01LC" = internal constant [4 x i8] c"%d\0A\00"              ; <[4 x i8]*> [#uses=1]
index 9a98e4794f9e3e9a4851472c5b6e36199fe94294..a06eaec894caad1c9ae6ae108d36ac1473817130 100644 (file)
@@ -1,5 +1,5 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -march=x86 -mattr=+sse2 -stats 2>&1 | grep "Number of 3-address instructions sunk"
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 -stats 2>&1 | grep "Number of 3-address instructions sunk"
 
 define void @t2(<2 x i64>* %vDct, <2 x i64>* %vYp, i8* %skiplist, <2 x i64> %a1) nounwind  {
 entry:
index c006c3115b21ad3b6065c557e5458429a12e2572..b06b6c9109fcab662b4fe8f00d7f3f67161020b3 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=i386-unknown-unknown -march=x86 -mattr=+sse2 | FileCheck %s
+; RUN: llc < %s -mtriple=i386-unknown-unknown -mattr=+sse2 | FileCheck %s
 
 ; rdar://6504833
 define float @test1(i32 %x) nounwind readnone {
index 6435760e88a48c10820942513c6cc896e37ab68a..5f76dd390586da2f230a0f2434abb187e5ffcfd8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | grep "jc" | count 1
+; RUN: llc < %s -mtriple=i386-- | grep "jc" | count 1
 ; XFAIL: *
 
 ; FIXME: umul-with-overflow not supported yet.
index 359c348b42cbead8b6c66b0883abaf7f95d74450..2e1010f6f7a4f15bf7d8d2876abb8b7f7177babb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -stop-after=machine-sink -march=x86-64 < %s | FileCheck %s
+; RUN: llc -stop-after=machine-sink < %s | FileCheck %s
 ;
 ; test code:
 ;  1 extern int bar(int x);
index 2e8e85b4ef667cab2e50ce82cebe38cc902ba435..4515521faf734b3625dce57fd2975c2478d6667c 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llc -march=x86-64 -verify-machineinstrs -run-pass block-placement -o - %s | FileCheck %s
+# RUN: llc -mtriple=x86_64-- -verify-machineinstrs -run-pass block-placement -o - %s | FileCheck %s
 # Check the conditional jump in bb.1 is changed to unconditional after block placement swaps bb.2 and bb.3.
 
 --- |
index 67bc5ae2fd413e6b8ee2058bb4c0724d50d654f1..baf01a2cb764f1983dfdc6508450684539d39973 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s
 
 ; CHECK: iΔ
 @"i\CE\94" = common global i32 0, align 4
index 3b7160c7186995750a915b4603dc5459a2794854..2fb46edc5c82ef83f1b4f895ec07a7b3771799ec 100644 (file)
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
 ; RUN: llc < %s -mtriple=x86_64-linux -mcpu=penryn -o - | FileCheck %s --check-prefix=X64
-; RUN: llc < %s -mcpu=yonah -march=x86 -mtriple=i386-linux-gnu -o - | FileCheck %s --check-prefix=X32
+; RUN: llc < %s -mcpu=yonah -mtriple=i386-linux-gnu -o - | FileCheck %s --check-prefix=X32
 
 ; PR7518
 define void @test1(<2 x float> %Q, float *%P2) nounwind {
index 8d019bc43d6b992fc111753731c1c83a3aed79a8..359e89e11e1f8214aa3a0fe13309046b4330b3ee 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc --march=x86 --mcpu=x86-64 --mattr=ssse3 < %s
-; RUN: llc --march=x86-64 --mcpu=x86-64 --mattr=ssse3 < %s
+; RUN: llc --mtriple=i686-- --mcpu=x86-64 --mattr=ssse3 < %s
+; RUN: llc --mtriple=x86_64-- --mcpu=x86-64 --mattr=ssse3 < %s
 
 ;PR18045:
 ;Issue of selection for 'v4i32 load'.
index 1e86d75bf09cf12789a619b5739e189cc9218d66..3971190f02cc87982f8534b34058a14b8a44c4d2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin10 | grep __bzero
+; RUN: llc < %s -mtriple=i686-apple-darwin10 | grep __bzero
 
 define void @foo(i8* %p, i64 %n) {
   call void @llvm.memset.p0i8.i64(i8* %p, i8 0, i64 %n, i32 4, i1 false)
index 7c77d11a7b54e43bfecd1e97ecabfe3fad1b2e28..3d144e8ea3e9a42c5fa434b1d2d4db352f376897 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
 
 define <2 x i64> @test(<2 x i64> %a, <2 x i64> %b) {
 entry:
index c088d7f57b1ac061d8bcb7adb75b9fc55818012b..b42fbb55b94e11b4358bbd41b5ce20707dd83736 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 ; PR 9267
 
 define<4 x i16> @func_16_32() {
index e0862ca8d1c4370c5aabf8318eeb4763ccfe41c8..8c2d8ce66b7410a05b93f1b6b574afe9d3470b89 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -mcpu=generic -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin8 | \
+; RUN: llc < %s -mcpu=generic -mattr=+sse2 -mtriple=i686-apple-darwin8 | \
 ; RUN:   grep "subl.*60"
-; RUN: llc < %s -mcpu=generic -march=x86 -mattr=+sse2 -mtriple=i686-apple-darwin8 | \
+; RUN: llc < %s -mcpu=generic -mattr=+sse2 -mtriple=i686-apple-darwin8 | \
 ; RUN:   grep "movaps.*32"
 
 
index df3eae3399f36f61815033f3f43539f9f8b7c3d0..ed81cb5a78d53583d749cfc499c2229a2d43dee3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i386-apple-darwin | FileCheck %s
+; RUN: llc < %s -mcpu=yonah -mtriple=i386-apple-darwin | FileCheck %s
 
 
 define <4 x i32> @test1(<4 x i32> %A, <4 x i32> %B) nounwind {
index 5ff49eff6df31aa1dd827e2e42596a01da244497..e05c997781299b844edc45f32a26cf588fe01b46 100644 (file)
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
 ; RUN: opt < %s -sroa -instcombine | \
-; RUN:   llc -march=x86 -mcpu=yonah | not grep sub.*esp
+; RUN:   llc -mtriple=i686-- -mcpu=yonah | not grep sub.*esp
 
 ; This checks that various insert/extract idiom work without going to the
 ; stack.
index 1df4cf2b2325fb777d92216e66f9ba32d330034b..9ce9b5b15c09710059d65bdca41173cb7e24556b 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc -march=x86-64 -mattr=sse4.1 < %s | FileCheck %s -check-prefix=SSE4
-; RUN: llc -march=x86-64 -mattr=avx < %s | FileCheck %s -check-prefix=AVX1
-; RUN: llc -march=x86-64 -mattr=avx2 < %s | FileCheck %s -check-prefix=AVX2
+; RUN: llc -mtriple=x86_64-- -mattr=sse4.1 < %s | FileCheck %s -check-prefix=SSE4
+; RUN: llc -mtriple=x86_64-- -mattr=avx < %s | FileCheck %s -check-prefix=AVX1
+; RUN: llc -mtriple=x86_64-- -mattr=avx2 < %s | FileCheck %s -check-prefix=AVX2
 
 define <16 x i16> @split16(<16 x i16> %a, <16 x i16> %b, <16 x i8> %__mask) {
 ; SSE4-LABEL: split16:
index cdb030eb38bfebf6e057b4b44167c9a1feb7a00c..dce924cc6d4c0f6a1924ba2ac9697ff8cf76e4aa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
 
 define i32 @t() {
 entry:
index 1d900a0919f24b0be61786fa9eb08c47d6a60a89..e95e61b97fea3f710404d0586b8e515f91270fff 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2 | FileCheck %s
 
 ; CHECK: foo
 ; CHECK: xorps
index c140468d3006d03894034d270dd1a80f480b2814..436644e9f9cc5cdf53acd5b0d0c2faa681da59eb 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep call | count 43
+; RUN: llc < %s -mtriple=x86_64-- | grep call | count 43
 
 declare <4 x double> @llvm.sin.v4f64(<4 x double> %p)
 declare <4 x double> @llvm.cos.v4f64(<4 x double> %p)
index 2a4d18c141a30c1f4d5d7d95132e9969c9ab2ef3..7d37b1a4cafea287b7f23e223f3e2158dcfec028 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep movss | count 2
+; RUN: llc < %s -mtriple=x86_64-- | grep movss | count 2
 ; PR2676
 
 define float @foo(<4 x float> %p, i32 %t) {
index df65257bac7e8bb7abfc331f9ec3df48c9082277..77b91961f580859c2d526650a0d7058e7af247d4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+sse4.1
+; RUN: llc < %s -mattr=+sse4.1
 
 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-apple-darwin11.0.0"
index 39e7f0e0b0667a26d0b9458c7c9310a4004a8dfa..a731643d7d4e92120fa58b6a17e8207c7617ed97 100644 (file)
@@ -1,6 +1,6 @@
 ; Test that vectors are scalarized/lowered correctly.
-; RUN: llc < %s -march=x86 -mcpu=i386
-; RUN: llc < %s -march=x86 -mcpu=yonah
+; RUN: llc < %s -mtriple=i686-- -mcpu=i386
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah
 
 %d8 = type <8 x double>
 %f1 = type <1 x float>
index f5f5293622b245e1814f4729bb9748be9e3bdc7a..6d1b84d8b12690d647b4ac55a544920ce16bb2d3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
 ; PR2620
 
 
index 8d521b46f7c998c7076bfa5e6f85cbe988fc3483..29a57976a4aba4afc7ce570023aac2faba9a5cf5 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 -mattr=sse2 | grep movsd | count 5
-; RUN: llc < %s -march=x86 -mattr=sse2 -O0 | grep -v esp | grep movsd | count 5
+; RUN: llc < %s -mtriple=i686-- -mattr=sse2 | grep movsd | count 5
+; RUN: llc < %s -mtriple=i686-- -mattr=sse2 -O0 | grep -v esp | grep movsd | count 5
 
 @x = external global double
 
index b1f42681a50821200ab8a72d4dd82b3ef78ced32..a4114425437f12c1cb9faed3871874bc4069f966 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 
        %struct.blktkntype = type { i32, i32 }
        %struct.fieldstruc = type { [128 x i8], %struct.blktkntype*, i32, i32 }
index 359d36d8af698d14d49edaaabfa431a10fe22df4..6872dc0ab9896eacf28385e8e1a0594300d69134 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2
+; RUN: llc < %s -mtriple=i686-- -mattr=+sse2
 
 ; Example that requires splitting and expanding a vector shift.
 define <2 x i64> @update(<2 x i64> %val) nounwind readnone {
index 0f8c2b896e2b55b1b5b522a79d37cdd903bdc11f..e07bfefcaeea0a7bca14d6e4fa8fc75c01cc32ba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mcpu=yonah
+; RUN: llc < %s -mtriple=i686-- -mcpu=yonah
 
 ; Legalization example that requires splitting a large vector into smaller pieces.
 
index 8590e8d0001e2a20dcb48a7a0c904468f6bbe193..087e1d14b50eea25610572e4956a0f9dccbe28aa 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86
+; RUN: llc < %s -mtriple=i686--
 @a = extern_weak global i32             ; <i32*> [#uses=1]
 @b = global i32* @a             ; <i32**> [#uses=0]
 
index 99e03c891c0067f24c5e8638f994cdf0c04c39df..59d51ee677ebfb2a091e203107004c00d85c4e07 100644 (file)
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc -march=x86 -mcpu=bdver2 -mattr=-fma -mtriple=x86_64-apple-darwin < %s | FileCheck %s
-; RUN: llc -march=x86 -mcpu=bdver2 -mattr=-fma,-fma4 -mtriple=x86_64-apple-darwin < %s | FileCheck %s --check-prefix=CHECK-NOFMA
+; RUN: llc -mcpu=bdver2 -mattr=-fma -mtriple=i686-apple-darwin < %s | FileCheck %s
+; RUN: llc -mcpu=bdver2 -mattr=-fma,-fma4 -mtriple=i686-apple-darwin < %s | FileCheck %s --check-prefix=CHECK-NOFMA
 
 ; CHECK-LABEL: fmafunc
 ; CHECK-NOFMA-LABEL: fmafunc
index b3b4d24ab3accb3a0d1c4e2ed5e4a3f4f39c5740..d4da64e7b068326803ecf47b1f8ef625dc4b8226 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
 ; CHECK:  movq  $-65535, %rax
 
 ; DAGCombiner should fold this to a simple constant.
index 810e409c175cec9c883933f1be6cb4ed472e43c0..2e4acb57ee493daaa9fee5cb67c4822306c9b3ca 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc -stack-symbol-ordering=0 %s -o - -march=x86-64 -mattr=-avx -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=SSE
-; RUN: llc -stack-symbol-ordering=0 %s -o - -march=x86-64 -mattr=+avx -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=AVX
+; RUN: llc -stack-symbol-ordering=0 %s -o - -mattr=-avx -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=SSE
+; RUN: llc -stack-symbol-ordering=0 %s -o - -mattr=+avx -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=AVX
 ; PR4891
 ; PR5626
 
index 790634c1e4a510c0ac36ed983d6e048afec30972..fd63ff1be714f1b5043f8a53e1f1f03afa7da8dc 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep mov | count 2
+; RUN: llc < %s | grep mov | count 2
 
 ; Fold an offset into an address even if it's not a 32-bit
 ; signed integer.
index ba559aa2ff0eb868122c35ed8d83a3a778919ce8..2fd98727421e59547d1cafe92b733023abed1167 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mcpu=bdver1 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=bdver1 | FileCheck %s
 
 ; clang -Oz -c test1.cpp -emit-llvm -S -o
 ; Verify that we generate shld insruction when we are optimizing for size,
index c025ee874b2d5e7ab31e59c389b422c53512efb1..b78ab0825a58e186f006851558a72e00aba9b366 100644 (file)
@@ -1,23 +1,23 @@
-; RUN: llc < %s -march=x86-64 -mcpu=athlon | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=athlon-tbird | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=athlon-4 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=athlon-xp | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=athlon-mp | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=k8 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=opteron | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=athlon64 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=athlon-fx | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=k8-sse3 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=opteron-sse3 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=athlon64-sse3 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=amdfam10 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=btver1 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=btver2 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=bdver1 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=bdver2 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=bdver3 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=bdver4 | FileCheck %s
-; RUN: llc < %s -march=x86-64 -mcpu=znver1 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=athlon | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=athlon-tbird | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=athlon-4 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=athlon-xp | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=athlon-mp | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=k8 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=opteron | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=athlon64 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=athlon-fx | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=k8-sse3 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=opteron-sse3 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=athlon64-sse3 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=amdfam10 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=btver1 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=btver2 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=bdver1 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=bdver2 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=bdver3 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=bdver4 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mcpu=znver1 | FileCheck %s
 
 ; Verify that for the X86_64 processors that are known to have poor latency 
 ; double precision shift instructions we do not generate 'shld' or 'shrd'
index c74f6d803b1cc304d7e23fb64fdb54654b296e0f..3e840ab2edf677cbeb1d4b3a02208522490a2482 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 | grep mov | count 1
+; RUN: llc < %s -mtriple=x86_64-- | grep mov | count 1
 
 define i32 @f() nounwind  {
        tail call void @t( i32 1 ) nounwind 
index 84af4f5d4b865249c19fc746ec21149ae281f0c3..c250bef08e4ac02dfffe20c2a057ce67f4944c17 100644 (file)
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc -relocation-model=pic -march=x86-64 -mtriple=x86_64-unknown-unknown -mattr=+ssse3 < %s | FileCheck %s
-; RUN: llc -march=x86-64 -mtriple=x86_64-unknown-unknown -mattr=+ssse3 < %s | FileCheck %s
+; RUN: llc -relocation-model=pic -mtriple=x86_64-unknown-unknown -mattr=+ssse3 < %s | FileCheck %s
+; RUN: llc -mtriple=x86_64-unknown-unknown -mattr=+ssse3 < %s | FileCheck %s
 
 ; Verify that the backend correctly folds the shuffle in function 'fold_pshufb'
 ; into a simple load from constant pool.
index 9bc654861b69ff9545473a60adc5ac71a2cdc140..f70f185710468c5dd624cc3b20927c7993c36902 100644 (file)
@@ -1,9 +1,9 @@
-; RUN: llc < %s -march=x86 | FileCheck %s -check-prefix=X87
-; RUN: llc < %s -march=x86-64 -mattr=-sse | FileCheck %s -check-prefix=X87
-; RUN: llc < %s -march=x86 -mattr=-x87 | FileCheck %s -check-prefix=NOX87
-; RUN: llc < %s -march=x86-64 -mattr=-x87,-sse | FileCheck %s -check-prefix=NOX87
-; RUN: llc < %s -march=x86 -mattr=-x87,+sse | FileCheck %s -check-prefix=NOX87
-; RUN: llc < %s -march=x86-64 -mattr=-x87,-sse2 | FileCheck %s -check-prefix=NOX87
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s -check-prefix=X87
+; RUN: llc < %s -mtriple=x86_64-- -mattr=-sse | FileCheck %s -check-prefix=X87
+; RUN: llc < %s -mtriple=i686-- -mattr=-x87 | FileCheck %s -check-prefix=NOX87
+; RUN: llc < %s -mtriple=x86_64-- -mattr=-x87,-sse | FileCheck %s -check-prefix=NOX87
+; RUN: llc < %s -mtriple=i686-- -mattr=-x87,+sse | FileCheck %s -check-prefix=NOX87
+; RUN: llc < %s -mtriple=x86_64-- -mattr=-x87,-sse2 | FileCheck %s -check-prefix=NOX87
 
 define void @test(i32 %i, i64 %l, float* %pf, double* %pd, fp128* %pld) nounwind readnone {
 ; X87-LABEL: test:
index 2a6b5c71aa4f7b1ae5e55e63c94d19d350ae4769..9fe5376a9d4f5793cddbb75f2fc20fb79a62e6b3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64
+; RUN: llc < %s -mtriple=x86_64--
 
 define <4 x i32> @test() {
         %tmp1039 = call <4 x i32> @llvm.x86.sse2.psll.d( <4 x i32> zeroinitializer, <4 x i32> zeroinitializer )               ; <<4 x i32>> [#uses=1]
index e85565edcd551fdfe15fe6592509e670db0d2ec5..005e41fd6505f9487177d6680cb69855bb30d84c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86-64 -mattr=+rtm | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+rtm | FileCheck %s
 
 declare i32 @llvm.x86.xtest() nounwind
 
index e3c3c5e31901e8e299c21366690b2ebf139bec14..04d7a2c2c558be6cfb224ff30fb2fb49f391186a 100644 (file)
@@ -1,7 +1,7 @@
 ; REQUIRES: asserts
-; RUN: llc < %s -march=x86-64 | FileCheck %s --check-prefix=CHECK-64
-; RUN: llc < %s -march=x86-64 -o /dev/null -stats  -info-output-file - | grep asm-printer  | grep 12
-; RUN: llc < %s -march=x86 | FileCheck %s --check-prefix=CHECK-32
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s --check-prefix=CHECK-64
+; RUN: llc < %s -mtriple=x86_64-- -o /dev/null -stats  -info-output-file - | grep asm-printer  | grep 12
+; RUN: llc < %s -mtriple=i686-- | FileCheck %s --check-prefix=CHECK-32
 
 declare void @bar(double %x)
 declare void @barf(float %x)
index 688b88db526aea4efd5803e3c978d3c6da471341..72fd6885dcdeca217e40683a7c47905c81a3685c 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=x86 | FileCheck -check-prefix=X86 %s
-; RUN: llc < %s -march=x86-64 | FileCheck -check-prefix=X64 %s
+; RUN: llc < %s -mtriple=i686-- | FileCheck -check-prefix=X86 %s
+; RUN: llc < %s -mtriple=x86_64-- | FileCheck -check-prefix=X64 %s
 
 ; X86-NOT: and
 
index 17fe374e01ecc45c96169d1ce7645c6ede60b282..580269d1435b00c6dd6b70f449ccdacb12f4d06e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | not grep and
+; RUN: llc < %s -mtriple=i686-- | not grep and
 
 ; These tests differ from the ones in zext-inreg-0.ll in that
 ; on x86-64 they do require and instructions.
index 7be03f662daeeb1fe9eca7ecc81b36ecdb1d5681..fc80bcaa3b2965ea64e3964dd89835737e389b1e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=x86-64 < %s -block-placement-exit-block-bias=20 -no-phi-elim-live-out-early-exit | FileCheck %s
+; RUN: llc < %s -block-placement-exit-block-bias=20 -no-phi-elim-live-out-early-exit | 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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.9.0"