rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is
authorChris Lattner <sabre@nondot.org>
Sat, 18 Jun 2011 06:05:24 +0000 (06:05 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 18 Jun 2011 06:05:24 +0000 (06:05 +0000)
commitb85e4eba85a38698f3b3332f82554bf8442547e2
treeae680321c7e03ee37d612c42282038950d37ea13
parent6be41eb7f00319f5ffa1a5435dcd1e81b3ce932d
rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is
for pre-2.9 bitcode files.  We keep x86 unaligned loads, movnt, crc32, and the
target indep prefetch change.

As usual, updating the testsuite is a PITA.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133337 91177308-0d34-0410-b5e6-96231b3b80d8
85 files changed:
lib/VMCore/AutoUpgrade.cpp
test/Analysis/BasicAA/getmodrefinfo-cs-cs.ll
test/Analysis/BasicAA/modref.ll
test/Analysis/ScalarEvolution/avoid-smax-1.ll
test/Analysis/ScalarEvolution/trip-count3.ll
test/Assembler/AutoUpgradeIntrinsics.ll
test/Assembler/AutoUpgradeMMXIntrinsics.ll [deleted file]
test/Bitcode/memcpy.ll [deleted file]
test/CodeGen/ARM/2007-05-07-jumptoentry.ll [deleted file]
test/CodeGen/ARM/2007-05-31-RegScavengerInfiniteLoop.ll [deleted file]
test/CodeGen/ARM/2009-03-07-SpillerBug.ll
test/CodeGen/ARM/2009-06-12-RegScavengerAssert.ll [deleted file]
test/CodeGen/ARM/2009-08-31-LSDA-Name.ll
test/CodeGen/ARM/dyn-stackalloc.ll
test/CodeGen/ARM/memcpy-inline.ll
test/CodeGen/ARM/memfunc.ll
test/CodeGen/Generic/2005-07-12-memcpy-i64-length.ll [deleted file]
test/CodeGen/Generic/2007-11-21-UndeadIllegalNode.ll [deleted file]
test/CodeGen/Generic/invalid-memcpy.ll
test/CodeGen/PowerPC/2008-10-30-IllegalShift.ll [deleted file]
test/CodeGen/PowerPC/2009-11-15-ReMatBug.ll [deleted file]
test/CodeGen/PowerPC/atomic-1.ll
test/CodeGen/PowerPC/atomic-2.ll
test/CodeGen/PowerPC/invalid-memcpy.ll [deleted file]
test/CodeGen/Thumb/dyn-stackalloc.ll
test/CodeGen/Thumb2/2009-08-04-SubregLoweringBug.ll
test/CodeGen/X86/2004-02-12-Memcpy.ll [deleted file]
test/CodeGen/X86/2006-11-28-Memcpy.ll [deleted file]
test/CodeGen/X86/2007-05-05-Personality.ll
test/CodeGen/X86/2007-06-05-LSR-Dominator.ll [deleted file]
test/CodeGen/X86/2008-06-04-MemCpyLoweringBug.ll [deleted file]
test/CodeGen/X86/2008-10-27-StackRealignment.ll
test/CodeGen/X86/2009-01-25-NoSSE.ll
test/CodeGen/X86/2009-04-27-LiveIntervalsBug.ll [deleted file]
test/CodeGen/X86/2009-11-16-UnfoldMemOpBug.ll
test/CodeGen/X86/darwin-bzero.ll
test/CodeGen/X86/memcpy-2.ll
test/CodeGen/X86/memmove-4.ll [deleted file]
test/CodeGen/X86/memset-2.ll
test/CodeGen/X86/memset-3.ll
test/CodeGen/X86/memset.ll
test/CodeGen/X86/memset64-on-x86-32.ll
test/CodeGen/X86/optimize-max-0.ll
test/CodeGen/X86/personality.ll
test/CodeGen/X86/pre-split2.ll [deleted file]
test/CodeGen/X86/pre-split3.ll [deleted file]
test/CodeGen/X86/unaligned-load.ll
test/CodeGen/X86/variable-sized-darwin-bzero.ll
test/Transforms/DeadStoreElimination/crash.ll
test/Transforms/DeadStoreElimination/lifetime.ll
test/Transforms/DeadStoreElimination/memintrinsics.ll
test/Transforms/DeadStoreElimination/simple.ll
test/Transforms/FunctionAttrs/2008-10-04-LocalMemory.ll [deleted file]
test/Transforms/GVN/2008-02-24-NonDominatedMemcpy.ll [deleted file]
test/Transforms/GVN/2008-02-26-MemCpySize.ll [deleted file]
test/Transforms/GVN/nonescaping-malloc.ll
test/Transforms/GVN/rle.ll
test/Transforms/GlobalOpt/memcpy.ll
test/Transforms/GlobalOpt/memset.ll
test/Transforms/Inline/inline-invoke-tail.ll
test/Transforms/InstCombine/2006-11-03-Memmove64.ll [deleted file]
test/Transforms/InstCombine/2007-05-04-Crash.ll [deleted file]
test/Transforms/InstCombine/2007-10-10-EliminateMemCpy.ll
test/Transforms/InstCombine/2009-02-20-InstCombine-SROA.ll
test/Transforms/InstCombine/memcpy-to-load.ll
test/Transforms/InstCombine/memmove.ll
test/Transforms/InstCombine/memset.ll
test/Transforms/InstCombine/stack-overalign.ll
test/Transforms/MemCpyOpt/2008-02-24-MultipleUseofSRet.ll
test/Transforms/MemCpyOpt/2008-03-13-ReturnSlotBitcast.ll
test/Transforms/MemCpyOpt/memcpy.ll
test/Transforms/MemCpyOpt/memmove.ll
test/Transforms/MemCpyOpt/sret.ll
test/Transforms/ScalarRepl/2007-05-24-LargeAggregate.ll [deleted file]
test/Transforms/ScalarRepl/2007-05-29-MemcpyPreserve.ll
test/Transforms/ScalarRepl/2008-06-22-LargeArray.ll
test/Transforms/ScalarRepl/2008-08-22-out-of-range-array-promote.ll
test/Transforms/ScalarRepl/2008-09-22-vector-gep.ll
test/Transforms/ScalarRepl/2009-03-04-MemCpyAlign.ll
test/Transforms/ScalarRepl/2009-12-11-NeonTypes.ll
test/Transforms/ScalarRepl/2010-01-18-SelfCopy.ll
test/Transforms/ScalarRepl/badarray.ll
test/Transforms/ScalarRepl/crash.ll
test/Transforms/ScalarRepl/memset-aggregate.ll
test/Transforms/SimplifyLibCalls/MemCpy.ll