llvm-6502/test/Transforms/ScalarRepl
Chris Lattner d8f5bd3988 New testcase, checking to see we can turn this code:
void test(vector float *F, float f) {
  vector float G = *F + *F;
  *((float*)&G) = f;
  *F = G + G;
}

void test2(vector float *F, float f) {
  vector float G = *F + *F;
  ((float*)&G)[2] = f;
  *F = G + G;
}

void test3(vector float *F, float *f) {
  vector float G = *F + *F;
  *f = ((float*)&G)[2];
}

void test4(vector float *F, float *f) {
  vector float G = *F + *F;
  *f = *((float*)&G);
}

into insert/extract element operations with no memory traffic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27709 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-14 21:41:54 +00:00
..
.cvsignore Tired of wading through cvs's list ? files that are generated when building 2006-03-23 23:41:57 +00:00
2003-05-29-ArrayFail.ll
2003-05-30-InvalidIndices.ll
2003-05-30-MultiLevel.ll
2003-09-12-IncorrectPromote.ll
2003-10-29-ArrayProblem.ll
2005-12-14-UnionPromoteCrash.ll new (undefined) testcase, distilled from 126.gcc that scalarrepl crashes on 2005-12-14 17:23:20 +00:00
2006-01-24-IllegalUnionPromoteCrash.ll testcase that crashes scalarrepl 2006-01-24 19:34:57 +00:00
AggregatePromote.ll new testcase: sra should be able to eliminate all of these alloca's, despite 2005-12-12 07:18:59 +00:00
arraytest.ll
badarray.ll
basictest.ll
dg.exp Added the ability to xfail based on llvmgcc version 2006-04-12 21:57:40 +00:00
phinodepromote.ll
select_promote.ll
sroa_two.ll New testcase, SROA with variable array index 2004-11-14 04:58:40 +00:00
vector_promote.ll New testcase, checking to see we can turn this code: 2006-04-14 21:41:54 +00:00