Rewrite some tests with FileCHeck in X86 codegen
authorMichael Liao <michael.liao@intel.com>
Mon, 29 Apr 2013 22:41:29 +0000 (22:41 +0000)
committerMichael Liao <michael.liao@intel.com>
Mon, 29 Apr 2013 22:41:29 +0000 (22:41 +0000)
commit26ebdd1e7c163f59cfd754183030855f7252d1d1
treefc2a13a68f8843cf0897a319d67103a9c45b0eb4
parent3e3456b23ae6fb1eaecfd439e777efbbaad3610a
Rewrite some tests with FileCHeck in X86 codegen

- Revise previous patches of the same purpose by fixing
  *) grep <PA> | not grep <PB> semantically is not the same as
     CHECK: <PA>{{^<PB>.*$}} as the former will check all occurrences of <PA>
     while the later only check the first match. As the result, CHECK needs
     putting in all place where <PA> occurs.
  *) grep <PA> | count <N> needs a final CHECK-NOT of the same pattern.
     (As 'CHECK-<N>' is proposed for discussion, converting 'grep | count <N>'
      where N > 1 is postponed.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180742 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
test/CodeGen/X86/2007-10-19-SpillerUnfold.ll
test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll
test/CodeGen/X86/2008-11-06-testb.ll
test/CodeGen/X86/2009-05-08-InlineAsmIOffset.ll
test/CodeGen/X86/fastcc-byval.ll
test/CodeGen/X86/fastcc-sret.ll
test/CodeGen/X86/fastcc3struct.ll
test/CodeGen/X86/fp_load_cast_fold.ll
test/CodeGen/X86/mmx-pinsrw.ll
test/CodeGen/X86/peep-test-2.ll
test/CodeGen/X86/private-2.ll
test/CodeGen/X86/store-fp-constant.ll
test/CodeGen/X86/subreg-to-reg-1.ll
test/CodeGen/X86/subreg-to-reg-3.ll
test/CodeGen/X86/switch-crit-edge-constant.ll
test/CodeGen/X86/v4f32-immediate.ll
test/CodeGen/X86/vec_set-B.ll
test/CodeGen/X86/vec_zero_cse.ll
test/CodeGen/X86/x86-64-frameaddr.ll
test/CodeGen/X86/x86-64-pic-3.ll