2,618 changes: 0 additions & 2,618 deletions llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion llvm/test/CodeGen/X86/vec_ins_extract.ll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: opt < %s -scalarrepl -instcombine | \
; RUN: opt < %s -sroa -instcombine | \
; RUN: llc -march=x86 -mcpu=yonah | not grep sub.*esp

; This checks that various insert/extract idiom work without going to the
Expand Down
4 changes: 2 additions & 2 deletions llvm/test/Transforms/ArgumentPromotion/inalloca.ll
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
; RUN: opt %s -argpromotion -scalarrepl -S | FileCheck %s
; RUN: opt %s -argpromotion -sroa -S | FileCheck %s

target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128"

%struct.ss = type { i32, i32 }

; Argpromote + scalarrepl should change this to passing the two integers by value.
; Argpromote + sroa should change this to passing the two integers by value.
define internal i32 @f(%struct.ss* inalloca %s) {
entry:
%f0 = getelementptr %struct.ss, %struct.ss* %s, i32 0, i32 0
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/Inline/basictest.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt < %s -inline -scalarrepl -S | FileCheck %s
; RUN: opt < %s -inline -sroa -S | FileCheck %s
target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128"

define i32 @test1f(i32 %i) {
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/Inline/crash2.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt -inline -scalarrepl -max-cg-scc-iterations=1 -disable-output < %s
; RUN: opt -inline -sroa -max-cg-scc-iterations=1 -disable-output < %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.3"

Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/Inline/devirtualize-3.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt -basicaa -inline -S -scalarrepl -gvn -instcombine < %s | FileCheck %s
; RUN: opt -basicaa -inline -S -sroa -gvn -instcombine < %s | FileCheck %s
; PR5009

; CHECK: define i32 @main()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt < %s -instcombine -scalarrepl -S | not grep " = alloca"
; RUN: opt < %s -instcombine -sroa -S | not grep " = alloca"
; rdar://6417724
; Instcombine shouldn't do anything to this function that prevents promoting the allocas inside it.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt < %s -scalarrepl -loop-simplify -licm -disable-output -verify-dom-info -verify-loop-info
; RUN: opt < %s -sroa -loop-simplify -licm -disable-output -verify-dom-info -verify-loop-info

define void @inflate() {
entry:
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/Transforms/LoopUnswitch/2011-09-26-EHCrash.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; RUN: opt < %s -scalarrepl-ssa -loop-unswitch -disable-output
; RUN: opt < %s -sroa -loop-unswitch -disable-output
; PR11016
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-macosx10.7.2"
Expand Down
13 changes: 0 additions & 13 deletions llvm/test/Transforms/ScalarRepl/2003-05-29-ArrayFail.ll

This file was deleted.

12 changes: 0 additions & 12 deletions llvm/test/Transforms/ScalarRepl/2003-09-12-IncorrectPromote.ll

This file was deleted.

16 changes: 0 additions & 16 deletions llvm/test/Transforms/ScalarRepl/2003-10-29-ArrayProblem.ll

This file was deleted.

20 changes: 0 additions & 20 deletions llvm/test/Transforms/ScalarRepl/2006-11-07-InvalidArrayPromote.ll

This file was deleted.

24 changes: 0 additions & 24 deletions llvm/test/Transforms/ScalarRepl/2007-05-29-MemcpyPreserve.ll

This file was deleted.

36 changes: 0 additions & 36 deletions llvm/test/Transforms/ScalarRepl/2007-11-03-bigendian_apint.ll

This file was deleted.

21 changes: 0 additions & 21 deletions llvm/test/Transforms/ScalarRepl/2008-01-29-PromoteBug.ll

This file was deleted.

This file was deleted.

33 changes: 0 additions & 33 deletions llvm/test/Transforms/ScalarRepl/2008-06-05-loadstore-agg.ll

This file was deleted.

17 changes: 0 additions & 17 deletions llvm/test/Transforms/ScalarRepl/2008-06-22-LargeArray.ll

This file was deleted.

This file was deleted.

25 changes: 0 additions & 25 deletions llvm/test/Transforms/ScalarRepl/2008-09-22-vector-gep.ll

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions llvm/test/Transforms/ScalarRepl/2009-02-05-LoadFCA.ll

This file was deleted.

19 changes: 0 additions & 19 deletions llvm/test/Transforms/ScalarRepl/2009-03-04-MemCpyAlign.ll

This file was deleted.

90 changes: 0 additions & 90 deletions llvm/test/Transforms/ScalarRepl/2009-12-11-NeonTypes.ll

This file was deleted.

18 changes: 0 additions & 18 deletions llvm/test/Transforms/ScalarRepl/2010-01-18-SelfCopy.ll

This file was deleted.

26 changes: 0 additions & 26 deletions llvm/test/Transforms/ScalarRepl/2011-05-06-CapturedAlloca.ll

This file was deleted.

75 changes: 0 additions & 75 deletions llvm/test/Transforms/ScalarRepl/2011-06-08-VectorExtractValue.ll

This file was deleted.

37 changes: 0 additions & 37 deletions llvm/test/Transforms/ScalarRepl/2011-06-17-VectorPartialMemset.ll

This file was deleted.

40 changes: 0 additions & 40 deletions llvm/test/Transforms/ScalarRepl/2011-09-22-PHISpeculateInvoke.ll

This file was deleted.

22 changes: 0 additions & 22 deletions llvm/test/Transforms/ScalarRepl/2011-10-11-VectorMemset.ll

This file was deleted.

19 changes: 0 additions & 19 deletions llvm/test/Transforms/ScalarRepl/2011-10-22-VectorCrash.ll

This file was deleted.

26 changes: 0 additions & 26 deletions llvm/test/Transforms/ScalarRepl/2011-11-11-EmptyStruct.ll

This file was deleted.

51 changes: 0 additions & 51 deletions llvm/test/Transforms/ScalarRepl/AggregatePromote.ll

This file was deleted.

16 changes: 0 additions & 16 deletions llvm/test/Transforms/ScalarRepl/DifferingTypes.ll

This file was deleted.

35 changes: 0 additions & 35 deletions llvm/test/Transforms/ScalarRepl/address-space.ll

This file was deleted.

11 changes: 0 additions & 11 deletions llvm/test/Transforms/ScalarRepl/arraytest.ll

This file was deleted.

57 changes: 0 additions & 57 deletions llvm/test/Transforms/ScalarRepl/badarray.ll

This file was deleted.

30 changes: 0 additions & 30 deletions llvm/test/Transforms/ScalarRepl/basictest.ll

This file was deleted.

17 changes: 0 additions & 17 deletions llvm/test/Transforms/ScalarRepl/bitfield-sroa.ll

This file was deleted.

107 changes: 0 additions & 107 deletions llvm/test/Transforms/ScalarRepl/copy-aggregate.ll

This file was deleted.

286 changes: 0 additions & 286 deletions llvm/test/Transforms/ScalarRepl/crash.ll

This file was deleted.

64 changes: 0 additions & 64 deletions llvm/test/Transforms/ScalarRepl/debuginfo-preserved.ll

This file was deleted.

53 changes: 0 additions & 53 deletions llvm/test/Transforms/ScalarRepl/inline-vector.ll

This file was deleted.

139 changes: 0 additions & 139 deletions llvm/test/Transforms/ScalarRepl/lifetime.ll

This file was deleted.

31 changes: 0 additions & 31 deletions llvm/test/Transforms/ScalarRepl/load-store-aggregate.ll

This file was deleted.

32 changes: 0 additions & 32 deletions llvm/test/Transforms/ScalarRepl/memcpy-align.ll

This file was deleted.

23 changes: 0 additions & 23 deletions llvm/test/Transforms/ScalarRepl/memset-aggregate-byte-leader.ll

This file was deleted.

67 changes: 0 additions & 67 deletions llvm/test/Transforms/ScalarRepl/memset-aggregate.ll

This file was deleted.

20 changes: 0 additions & 20 deletions llvm/test/Transforms/ScalarRepl/negative-memset.ll

This file was deleted.

53 changes: 0 additions & 53 deletions llvm/test/Transforms/ScalarRepl/nonzero-first-index.ll

This file was deleted.

20 changes: 0 additions & 20 deletions llvm/test/Transforms/ScalarRepl/not-a-vector.ll

This file was deleted.

27 changes: 0 additions & 27 deletions llvm/test/Transforms/ScalarRepl/only-memcpy-uses.ll

This file was deleted.

80 changes: 0 additions & 80 deletions llvm/test/Transforms/ScalarRepl/phi-cycle.ll

This file was deleted.

153 changes: 0 additions & 153 deletions llvm/test/Transforms/ScalarRepl/phi-select.ll

This file was deleted.

34 changes: 0 additions & 34 deletions llvm/test/Transforms/ScalarRepl/phinodepromote.ll

This file was deleted.

18 changes: 0 additions & 18 deletions llvm/test/Transforms/ScalarRepl/select_promote.ll

This file was deleted.

21 changes: 0 additions & 21 deletions llvm/test/Transforms/ScalarRepl/sroa-fca.ll

This file was deleted.

13 changes: 0 additions & 13 deletions llvm/test/Transforms/ScalarRepl/sroa_two.ll

This file was deleted.

14 changes: 0 additions & 14 deletions llvm/test/Transforms/ScalarRepl/union-fp-int.ll

This file was deleted.

14 changes: 0 additions & 14 deletions llvm/test/Transforms/ScalarRepl/union-packed.ll

This file was deleted.

74 changes: 0 additions & 74 deletions llvm/test/Transforms/ScalarRepl/union-pointer.ll

This file was deleted.

28 changes: 0 additions & 28 deletions llvm/test/Transforms/ScalarRepl/vector_memcpy.ll

This file was deleted.

137 changes: 0 additions & 137 deletions llvm/test/Transforms/ScalarRepl/vector_promote.ll

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions llvm/test/Transforms/ScalarRepl/volatile.ll

This file was deleted.

2 changes: 1 addition & 1 deletion llvm/utils/findoptdiff
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ dis2="$llvm2/Debug/bin/llvm-dis"
opt1="$llvm1/Debug/bin/opt"
opt2="$llvm2/Debug/bin/opt"

all_switches="-verify -lowersetjmp -simplifycfg -mem2reg -globalopt -globaldce -ipconstprop -deadargelim -instcombine -simplifycfg -prune-eh -inline -simplify-libcalls -argpromotion -tailduplicate -simplifycfg -scalarrepl -instcombine -predsimplify -condprop -tailcallelim -simplifycfg -reassociate -licm -loop-unswitch -instcombine -indvars -loop-unroll -instcombine -load-vn -gcse -sccp -instcombine -condprop -dse -dce -simplifycfg -deadtypeelim -constmerge -internalize -ipsccp -globalopt -constmerge -deadargelim -inline -prune-eh -globalopt -globaldce -argpromotion -instcombine -predsimplify -scalarrepl -globalsmodref-aa -licm -load-vn -gcse -dse -instcombine -simplifycfg -verify"
all_switches="-verify -lowersetjmp -simplifycfg -mem2reg -globalopt -globaldce -ipconstprop -deadargelim -instcombine -simplifycfg -prune-eh -inline -simplify-libcalls -argpromotion -tailduplicate -simplifycfg -sroa -instcombine -predsimplify -condprop -tailcallelim -simplifycfg -reassociate -licm -loop-unswitch -instcombine -indvars -loop-unroll -instcombine -load-vn -gcse -sccp -instcombine -condprop -dse -dce -simplifycfg -deadtypeelim -constmerge -internalize -ipsccp -globalopt -constmerge -deadargelim -inline -prune-eh -globalopt -globaldce -argpromotion -instcombine -predsimplify -sroa -globalsmodref-aa -licm -load-vn -gcse -dse -instcombine -simplifycfg -verify"

#counter=0
function tryit {
Expand Down