This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository llvm.
from 13149c89f35 [x86] regenerate complete checks; NFC new 9e17395714e [x86] add RUN line and auto-generate checks new 757e87a197d Fallback option for colorized output when terminfo isn't available new afa2e7e6a69 Remove alignment argument from memcpy/memmove/memset in fav [...] new cee475a4d74 [WebAssembly] Make sign-extension opcodes a distinct feature.
The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: docs/LangRef.rst | 51 ++--- include/llvm/IR/IntrinsicInst.h | 79 +++++-- include/llvm/IR/Intrinsics.td | 6 +- lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 4 + lib/IR/AutoUpgrade.cpp | 70 +++++- lib/IR/IRBuilder.cpp | 36 +++- lib/IR/Verifier.cpp | 19 +- lib/Support/Unix/Process.inc | 15 ++ lib/Target/AArch64/AArch64FastISel.cpp | 4 +- lib/Target/ARM/ARMFastISel.cpp | 4 +- lib/Target/Mips/MipsFastISel.cpp | 4 +- lib/Target/WebAssembly/WebAssembly.td | 5 + lib/Target/WebAssembly/WebAssemblyISelLowering.cpp | 3 +- lib/Target/WebAssembly/WebAssemblyInstrConv.td | 4 +- lib/Target/WebAssembly/WebAssemblyInstrInfo.td | 8 + lib/Target/WebAssembly/WebAssemblySubtarget.cpp | 4 +- lib/Target/WebAssembly/WebAssemblySubtarget.h | 2 + lib/Target/X86/X86FastISel.cpp | 4 +- lib/Transforms/InstCombine/InstCombineCalls.cpp | 1 + .../Instrumentation/DataFlowSanitizer.cpp | 21 +- test/Analysis/AliasSet/memtransfer.ll | 20 +- test/Analysis/BasicAA/assume.ll | 12 +- test/Analysis/BasicAA/cs-cs.ll | 212 +++++++++--------- test/Analysis/BasicAA/gep-and-alias.ll | 4 +- test/Analysis/BasicAA/getmodrefinfo-cs-cs.ll | 10 +- test/Analysis/BasicAA/guards.ll | 12 +- test/Analysis/BasicAA/modref.ll | 20 +- test/Analysis/CallGraph/no-intrinsics.ll | 4 +- .../ConstantFolding/gep-constanfolding-error.ll | 6 +- test/Analysis/DependenceAnalysis/Preliminary.ll | 2 +- test/Analysis/GlobalsModRef/memset-escape.ll | 4 +- test/Analysis/GlobalsModRef/no-escape.ll | 2 +- test/Analysis/GlobalsModRef/pr12351.ll | 4 +- test/Analysis/GlobalsModRef/volatile-instrs.ll | 6 +- test/Analysis/Lint/noalias-byval.ll | 8 +- test/Analysis/MemorySSA/basicaa-memcpy.ll | 6 +- test/Analysis/ScalarEvolution/avoid-smax-1.ll | 12 +- test/Analysis/ScalarEvolution/trip-count.ll | 4 +- test/Analysis/ScalarEvolution/trip-count3.ll | 6 +- .../TypeBasedAliasAnalysis/functionattrs.ll | 6 +- test/Analysis/TypeBasedAliasAnalysis/memcpyopt.ll | 8 +- test/Bitcode/standardCIntrinsic.3.2.ll | 6 +- test/Bitcode/upgrade-memory-intrinsics.ll | 36 ++++ .../AArch64/GlobalISel/arm64-irtranslator.ll | 12 +- test/CodeGen/AArch64/PBQP-csr.ll | 4 +- ...64-DAGCombine-findBetterNeighborChains-crash.ll | 6 +- .../AArch64/arm64-2012-05-07-MemcpyAlignBug.ll | 4 +- test/CodeGen/AArch64/arm64-abi-varargs.ll | 4 +- test/CodeGen/AArch64/arm64-abi_align.ll | 18 +- test/CodeGen/AArch64/arm64-fast-isel-intrinsic.ll | 24 +-- test/CodeGen/AArch64/arm64-memcpy-inline.ll | 20 +- test/CodeGen/AArch64/arm64-memset-inline.ll | 8 +- test/CodeGen/AArch64/arm64-memset-to-bzero.ll | 8 +- .../AArch64/arm64-misaligned-memcpy-inline.ll | 4 +- test/CodeGen/AArch64/arm64-misched-basic-A53.ll | 6 +- test/CodeGen/AArch64/arm64-misched-basic-A57.ll | 6 +- test/CodeGen/AArch64/arm64-stur.ll | 4 +- test/CodeGen/AArch64/arm64-virtual_base.ll | 4 +- test/CodeGen/AArch64/fast-isel-memcpy.ll | 4 +- test/CodeGen/AArch64/func-argpassing.ll | 4 +- .../AArch64/ldp-stp-scaled-unscaled-pairs.ll | 4 +- test/CodeGen/AArch64/ldst-paired-aliasing.ll | 4 +- test/CodeGen/AArch64/ldst-zero.ll | 4 +- test/CodeGen/AArch64/machine-combiner-madd.ll | 4 +- test/CodeGen/AArch64/memcpy-f128.ll | 4 +- test/CodeGen/AArch64/merge-store-dependency.ll | 4 +- .../CodeGen/AArch64/mergestores_noimplicitfloat.ll | 4 +- test/CodeGen/AArch64/misched-stp.ll | 4 +- test/CodeGen/AArch64/pr33172.ll | 4 +- test/CodeGen/AArch64/tailcall-mem-intrinsics.ll | 12 +- test/CodeGen/AArch64/tailcall-string-rvo.ll | 4 +- test/CodeGen/AMDGPU/addrspacecast-constantexpr.ll | 4 +- test/CodeGen/AMDGPU/lds-alignment.ll | 128 +++++------ test/CodeGen/AMDGPU/llvm.memcpy.ll | 28 +-- test/CodeGen/AMDGPU/lower-mem-intrinsics.ll | 42 ++-- .../AMDGPU/promote-alloca-mem-intrinsics.ll | 30 +-- test/CodeGen/AMDGPU/stack-size-overflow.ll | 4 +- test/CodeGen/ARM/2009-03-07-SpillerBug.ll | 4 +- test/CodeGen/ARM/2011-03-10-DAGCombineCrash.ll | 4 +- test/CodeGen/ARM/2011-10-26-memset-inline.ll | 4 +- test/CodeGen/ARM/2011-10-26-memset-with-neon.ll | 4 +- test/CodeGen/ARM/2012-04-24-SplitEHCriticalEdge.ll | 2 +- test/CodeGen/ARM/Windows/memset.ll | 4 +- test/CodeGen/ARM/Windows/no-aeabi.ll | 8 +- test/CodeGen/ARM/arm-eabi.ll | 14 +- test/CodeGen/ARM/constantpool-promote-ldrh.ll | 4 +- test/CodeGen/ARM/constantpool-promote.ll | 14 +- test/CodeGen/ARM/crash-O0.ll | 6 +- test/CodeGen/ARM/debug-info-blocks.ll | 6 +- test/CodeGen/ARM/dyn-stackalloc.ll | 4 +- test/CodeGen/ARM/fast-isel-intrinsic.ll | 20 +- test/CodeGen/ARM/interval-update-remat.ll | 4 +- test/CodeGen/ARM/ldm-stm-base-materialization.ll | 10 +- test/CodeGen/ARM/machine-cse-cmp.ll | 4 +- test/CodeGen/ARM/memcpy-inline.ll | 20 +- test/CodeGen/ARM/memcpy-ldm-stm.ll | 20 +- test/CodeGen/ARM/memcpy-no-inline.ll | 6 +- test/CodeGen/ARM/memfunc.ll | 90 ++++---- test/CodeGen/ARM/memset-inline.ll | 12 +- test/CodeGen/ARM/stack-protector-bmovpcb_call.ll | 4 +- test/CodeGen/ARM/struct-byval-frame-index.ll | 8 +- test/CodeGen/ARM/tailcall-mem-intrinsics.ll | 12 +- test/CodeGen/AVR/std-ldd-immediate-overflow.ll | 4 +- test/CodeGen/BPF/byval.ll | 4 +- test/CodeGen/BPF/ex1.ll | 6 +- test/CodeGen/BPF/fi_ri.ll | 4 +- test/CodeGen/BPF/reloc.ll | 6 +- test/CodeGen/BPF/rodata_1.ll | 6 +- test/CodeGen/BPF/rodata_2.ll | 4 +- test/CodeGen/BPF/rodata_3.ll | 4 +- test/CodeGen/BPF/rodata_4.ll | 4 +- test/CodeGen/BPF/sanity.ll | 4 +- test/CodeGen/BPF/undef.ll | 4 +- test/CodeGen/BPF/warn-call.ll | 4 +- test/CodeGen/Generic/ForceStackAlign.ll | 4 +- test/CodeGen/Generic/invalid-memcpy.ll | 4 +- test/CodeGen/Hexagon/adjust-latency-stackST.ll | 6 +- test/CodeGen/Hexagon/branchfolder-keep-impdef.ll | 4 +- test/CodeGen/Hexagon/early-if-conversion-bug1.ll | 12 +- test/CodeGen/Hexagon/mem-fi-add.ll | 4 +- test/CodeGen/Hexagon/memcpy-likely-aligned.ll | 4 +- test/CodeGen/Hexagon/rdf-filter-defs.ll | 10 +- test/CodeGen/Hexagon/store-imm-stack-object.ll | 6 +- test/CodeGen/Hexagon/tail-call-mem-intrinsics.ll | 12 +- test/CodeGen/MSP430/memset.ll | 4 +- test/CodeGen/Mips/2012-12-12-ExpandMemcpy.ll | 4 +- test/CodeGen/Mips/Fast-ISel/memtest1.ll | 15 +- test/CodeGen/Mips/biggot.ll | 4 +- ...rguments-small-structures-bigger-than-32bits.ll | 6 +- .../cconv/arguments-varargs-small-structs-byte.ll | 12 +- ...arguments-varargs-small-structs-combinations.ll | 6 +- test/CodeGen/Mips/cconv/return-struct.ll | 6 +- test/CodeGen/Mips/largeimmprinting.ll | 4 +- test/CodeGen/Mips/long-calls.ll | 4 +- test/CodeGen/Mips/memcpy.ll | 4 +- test/CodeGen/Mips/pr33978.ll | 6 +- test/CodeGen/Mips/tailcall/tailcall.ll | 4 +- test/CodeGen/NVPTX/lower-aggr-copies.ll | 20 +- test/CodeGen/PowerPC/2011-12-05-NoSpillDupCR.ll | 2 +- .../PowerPC/2011-12-06-SpillAndRestoreCR.ll | 2 +- test/CodeGen/PowerPC/MMO-flags-assertion.ll | 4 +- test/CodeGen/PowerPC/aantidep-inline-asm-use.ll | 4 +- test/CodeGen/PowerPC/ctrloop-reg.ll | 2 +- test/CodeGen/PowerPC/emptystruct.ll | 4 +- test/CodeGen/PowerPC/fsl-e500mc.ll | 4 +- test/CodeGen/PowerPC/fsl-e5500.ll | 4 +- test/CodeGen/PowerPC/glob-comp-aa-crash.ll | 4 +- test/CodeGen/PowerPC/isel-rc-nox0.ll | 4 +- test/CodeGen/PowerPC/licm-remat.ll | 8 +- test/CodeGen/PowerPC/lxv-aligned-stack-slots.ll | 6 +- test/CodeGen/PowerPC/memcpy-vec.ll | 12 +- test/CodeGen/PowerPC/memcpy_dereferenceable.ll | 12 +- test/CodeGen/PowerPC/memset-nc-le.ll | 4 +- test/CodeGen/PowerPC/memset-nc.ll | 6 +- test/CodeGen/PowerPC/merge-st-chain-op.ll | 4 +- test/CodeGen/PowerPC/ppc-empty-fs.ll | 4 +- test/CodeGen/PowerPC/pr27350.ll | 4 +- test/CodeGen/PowerPC/resolvefi-basereg.ll | 28 +-- test/CodeGen/PowerPC/resolvefi-disp.ll | 16 +- test/CodeGen/PowerPC/structsinmem.ll | 30 +-- test/CodeGen/PowerPC/structsinregs.ll | 30 +-- test/CodeGen/PowerPC/stwu8.ll | 4 +- test/CodeGen/PowerPC/tailcall-string-rvo.ll | 4 +- test/CodeGen/PowerPC/toc-load-sched-bug.ll | 14 +- test/CodeGen/RISCV/frame.ll | 4 +- test/CodeGen/SystemZ/dag-combine-02.ll | 4 +- test/CodeGen/SystemZ/loop-01.ll | 10 +- test/CodeGen/SystemZ/loop-03.ll | 6 +- test/CodeGen/SystemZ/memcpy-01.ll | 92 ++++---- test/CodeGen/SystemZ/memset-01.ll | 62 +++--- test/CodeGen/SystemZ/memset-02.ll | 68 +++--- test/CodeGen/SystemZ/memset-03.ll | 164 +++++++------- test/CodeGen/SystemZ/memset-04.ll | 164 +++++++------- test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll | 12 +- test/CodeGen/Thumb/2011-05-11-DAGLegalizer.ll | 10 +- test/CodeGen/Thumb/dyn-stackalloc.ll | 4 +- .../Thumb/ldm-stm-base-materialization-thumb2.ll | 10 +- test/CodeGen/Thumb/ldm-stm-base-materialization.ll | 10 +- .../Thumb/stack-coloring-without-frame-ptr.ll | 4 +- .../CodeGen/Thumb2/2009-08-04-SubregLoweringBug.ll | 4 +- test/CodeGen/Thumb2/2012-01-13-CBNZBug.ll | 4 +- test/CodeGen/WebAssembly/global.ll | 4 +- test/CodeGen/WebAssembly/load-ext-atomic.ll | 2 +- test/CodeGen/WebAssembly/mem-intrinsics.ll | 26 +-- test/CodeGen/WebAssembly/offset-atomics.ll | 2 +- test/CodeGen/WebAssembly/signext-inreg.ll | 20 +- test/CodeGen/X86/2007-10-15-CoalescerCrash.ll | 2 +- test/CodeGen/X86/2009-01-25-NoSSE.ll | 4 +- test/CodeGen/X86/2009-11-16-UnfoldMemOpBug.ll | 4 +- test/CodeGen/X86/2010-04-08-CoalescerBug.ll | 4 +- test/CodeGen/X86/2010-04-21-CoalescerBug.ll | 4 +- .../X86/2010-06-25-CoalescerSubRegDefDead.ll | 4 +- test/CodeGen/X86/2010-09-17-SideEffectsInChain.ll | 4 +- test/CodeGen/X86/2012-01-10-UndefExceptionEdge.ll | 8 +- test/CodeGen/X86/3addr-16bit.ll | 237 ++++++++++++++++----- test/CodeGen/X86/alignment-2.ll | 4 +- test/CodeGen/X86/bug26810.ll | 4 +- test/CodeGen/X86/darwin-bzero.ll | 4 +- test/CodeGen/X86/fast-isel-call.ll | 8 +- test/CodeGen/X86/fast-isel-deadcode.ll | 6 +- test/CodeGen/X86/fast-isel-x86-64.ll | 4 +- test/CodeGen/X86/force-align-stack-alloca.ll | 4 +- test/CodeGen/X86/immediate_merging.ll | 4 +- test/CodeGen/X86/immediate_merging64.ll | 4 +- test/CodeGen/X86/lea-opt-memop-check-1.ll | 4 +- test/CodeGen/X86/load-slice.ll | 2 +- test/CodeGen/X86/lsr-normalization.ll | 4 +- test/CodeGen/X86/mcu-abi.ll | 4 +- test/CodeGen/X86/mem-intrin-base-reg.ll | 10 +- test/CodeGen/X86/memcpy-2.ll | 10 +- test/CodeGen/X86/memcpy-from-string.ll | 4 +- test/CodeGen/X86/memcpy.ll | 24 +-- test/CodeGen/X86/memset-2.ll | 10 +- test/CodeGen/X86/memset-3.ll | 4 +- test/CodeGen/X86/memset-nonzero.ll | 12 +- test/CodeGen/X86/memset-sse-stack-realignment.ll | 6 +- test/CodeGen/X86/memset.ll | 6 +- test/CodeGen/X86/memset64-on-x86-32.ll | 4 +- test/CodeGen/X86/misaligned-memset.ll | 4 +- test/CodeGen/X86/misched-new.ll | 4 +- test/CodeGen/X86/negate-add-zero.ll | 2 +- test/CodeGen/X86/optimize-max-0.ll | 20 +- test/CodeGen/X86/pr11985.ll | 4 +- test/CodeGen/X86/pr14333.ll | 4 +- test/CodeGen/X86/pr34088.ll | 6 +- test/CodeGen/X86/ragreedy-hoist-spill.ll | 4 +- test/CodeGen/X86/regparm.ll | 6 +- test/CodeGen/X86/remat-fold-load.ll | 6 +- test/CodeGen/X86/slow-unaligned-mem.ll | 4 +- test/CodeGen/X86/small-byval-memcpy.ll | 4 +- test/CodeGen/X86/stack-align.ll | 4 +- test/CodeGen/X86/stack-protector.ll | 6 +- test/CodeGen/X86/tail-dup-merge-loop-headers.ll | 4 +- test/CodeGen/X86/tailcall-mem-intrinsics.ll | 18 +- test/CodeGen/X86/tlv-1.ll | 4 +- test/CodeGen/X86/unaligned-load.ll | 4 +- test/CodeGen/X86/unused_stackslots.ll | 18 +- test/CodeGen/X86/unwindraise.ll | 6 +- test/CodeGen/X86/variable-sized-darwin-bzero.ll | 4 +- test/CodeGen/X86/vectorcall.ll | 12 +- test/CodeGen/X86/x86-64-static-relo-movl.ll | 4 +- test/CodeGen/X86/x86-repmov-copy-eflags.ll | 4 +- test/CodeGen/XCore/memcpy.ll | 8 +- test/DebugInfo/AArch64/frameindices.ll | 10 +- test/DebugInfo/COFF/types-array.ll | 4 +- test/DebugInfo/Generic/2010-10-01-crash.ll | 2 +- test/DebugInfo/X86/array.ll | 4 +- test/DebugInfo/X86/array2.ll | 4 +- test/DebugInfo/X86/debug-ranges-offset.ll | 2 +- test/DebugInfo/X86/pieces-2.ll | 2 +- test/DebugInfo/X86/pieces-3.ll | 2 +- test/DebugInfo/X86/safestack-byval.ll | 4 +- .../X86/split-dwarf-cross-unit-reference.ll | 6 +- test/DebugInfo/X86/sroasplit-1.ll | 4 +- test/DebugInfo/X86/sroasplit-2.ll | 4 +- test/DebugInfo/X86/sroasplit-4.ll | 6 +- test/DebugInfo/X86/sroasplit-5.ll | 8 +- test/DebugInfo/X86/sroasplit-dbg-declare.ll | 4 +- test/Instrumentation/AddressSanitizer/basic.ll | 12 +- .../AddressSanitizer/stack-poisoning-byval-args.ll | 4 +- test/Instrumentation/DataFlowSanitizer/memset.ll | 4 +- .../EfficiencySanitizer/working_set_basic.ll | 12 +- .../EfficiencySanitizer/working_set_slow.ll | 12 +- test/Instrumentation/HWAddressSanitizer/alloca.ll | 4 +- .../MemorySanitizer/AArch64/vararg.ll | 6 +- .../MemorySanitizer/Mips/vararg-mips64.ll | 2 +- .../MemorySanitizer/Mips/vararg-mips64el.ll | 2 +- .../MemorySanitizer/PowerPC/vararg-ppc64.ll | 6 +- .../MemorySanitizer/PowerPC/vararg-ppc64le.ll | 6 +- test/Instrumentation/MemorySanitizer/alloca.ll | 8 +- .../MemorySanitizer/byval-alignment.ll | 2 +- .../MemorySanitizer/check_access_address.ll | 4 +- test/Instrumentation/MemorySanitizer/msan_basic.ll | 18 +- test/Instrumentation/ThreadSanitizer/tsan_basic.ll | 12 +- test/LTO/X86/Inputs/remangle_intrinsics.ll | 4 +- test/LTO/X86/remangle_intrinsics.ll | 6 +- test/Linker/type-unique-simple2-a.ll | 4 +- test/Linker/type-unique-type-array-a.ll | 4 +- test/Linker/type-unique-type-array-b.ll | 4 +- test/Object/mangle-ir.ll | 4 +- test/Other/cgscc-libcall-update.ll | 4 +- test/Other/lint.ll | 4 +- .../AddDiscriminators/memcpy-discriminator.ll | 4 +- test/Transforms/AlignmentFromAssumptions/simple.ll | 12 +- .../AlignmentFromAssumptions/simple32.ll | 12 +- .../X86/memset_chk-simplify-nobuiltin.ll | 2 +- .../CorrelatedValuePropagation/non-null.ll | 20 +- .../DeadStoreElimination/2011-09-06-MemCpy.ll | 6 +- .../2016-07-17-UseAfterFree.ll | 6 +- .../DeadStoreElimination/OverwriteStoreBegin.ll | 34 +-- .../DeadStoreElimination/OverwriteStoreEnd.ll | 36 ++-- .../combined-partial-overwrites.ll | 4 +- test/Transforms/DeadStoreElimination/crash.ll | 4 +- .../DeadStoreElimination/cs-cs-aliasing.ll | 10 +- test/Transforms/DeadStoreElimination/lifetime.ll | 4 +- .../DeadStoreElimination/mda-with-dbg-values.ll | 4 +- .../DeadStoreElimination/memintrinsics.ll | 12 +- .../DeadStoreElimination/no-targetdata.ll | 6 +- test/Transforms/DeadStoreElimination/pr11390.ll | 6 +- test/Transforms/DeadStoreElimination/simple.ll | 28 +-- test/Transforms/FunctionAttrs/norecurse.ll | 4 +- test/Transforms/GVN/PRE/rle.ll | 22 +- test/Transforms/GVN/nonescaping-malloc.ll | 4 +- test/Transforms/GVN/pr17732.ll | 6 +- test/Transforms/GlobalOpt/crash.ll | 4 +- test/Transforms/GlobalOpt/memcpy.ll | 4 +- test/Transforms/GlobalOpt/memset-null.ll | 6 +- test/Transforms/GlobalOpt/memset.ll | 14 +- .../InferAddressSpaces/AMDGPU/mem-intrinsics.ll | 70 +++--- .../InferAddressSpaces/AMDGPU/volatile.ll | 10 +- test/Transforms/Inline/alloca-dbgdeclare.ll | 6 +- test/Transforms/Inline/inline-invoke-tail.ll | 4 +- test/Transforms/Inline/inline-vla.ll | 6 +- test/Transforms/Inline/noalias-calls.ll | 18 +- .../InstCombine/2007-10-10-EliminateMemCpy.ll | 4 +- .../InstCombine/2009-02-20-InstCombine-SROA.ll | 4 +- test/Transforms/InstCombine/addrspacecast.ll | 8 +- test/Transforms/InstCombine/align-addr.ll | 6 +- test/Transforms/InstCombine/alloca.ll | 6 +- test/Transforms/InstCombine/call-intrinsics.ll | 12 +- test/Transforms/InstCombine/malloc-free-delete.ll | 22 +- .../InstCombine/mem-par-metadata-memcpy.ll | 4 +- test/Transforms/InstCombine/memcpy-1.ll | 2 +- test/Transforms/InstCombine/memcpy-addrspace.ll | 10 +- test/Transforms/InstCombine/memcpy-from-global.ll | 50 ++--- test/Transforms/InstCombine/memcpy-to-load.ll | 22 +- test/Transforms/InstCombine/memcpy.ll | 14 +- test/Transforms/InstCombine/memcpy_chk-1.ll | 4 +- test/Transforms/InstCombine/memmove.ll | 16 +- test/Transforms/InstCombine/memmove_chk-1.ll | 4 +- test/Transforms/InstCombine/memset-1.ll | 2 +- test/Transforms/InstCombine/memset.ll | 12 +- test/Transforms/InstCombine/memset2.ll | 4 +- test/Transforms/InstCombine/memset_chk-1.ll | 8 +- test/Transforms/InstCombine/objsize.ll | 4 +- test/Transforms/InstCombine/opaque.ll | 5 +- .../Transforms/InstCombine/pr31990_wrong_memcpy.ll | 5 +- test/Transforms/InstCombine/simplify-libcalls.ll | 8 +- test/Transforms/InstCombine/sprintf-1.ll | 4 +- test/Transforms/InstCombine/stack-overalign.ll | 8 +- test/Transforms/InstCombine/stpcpy_chk-1.ll | 6 +- test/Transforms/InstCombine/strcpy_chk-1.ll | 6 +- test/Transforms/InstCombine/strncpy_chk-1.ll | 4 +- test/Transforms/InstCombine/struct-assign-tbaa.ll | 6 +- test/Transforms/LICM/pr26843.ll | 4 +- test/Transforms/LICM/pr27262.ll | 4 +- test/Transforms/LICM/unrolled-deeply-nested.ll | 6 +- test/Transforms/LoopIdiom/basic-address-space.ll | 2 +- test/Transforms/LoopIdiom/basic.ll | 24 +-- .../LoopIdiom/lir-heurs-multi-block-loop.ll | 4 +- test/Transforms/LoopIdiom/pr28196.ll | 2 +- .../MemCpyOpt/2008-02-24-MultipleUseofSRet.ll | 6 +- .../MemCpyOpt/2008-03-13-ReturnSlotBitcast.ll | 4 +- test/Transforms/MemCpyOpt/align.ll | 10 +- test/Transforms/MemCpyOpt/atomic.ll | 4 +- test/Transforms/MemCpyOpt/callslot_aa.ll | 8 +- test/Transforms/MemCpyOpt/callslot_deref.ll | 12 +- test/Transforms/MemCpyOpt/capturing-func.ll | 4 +- test/Transforms/MemCpyOpt/crash.ll | 9 +- test/Transforms/MemCpyOpt/form-memset.ll | 40 ++-- test/Transforms/MemCpyOpt/invariant.start.ll | 24 +-- test/Transforms/MemCpyOpt/lifetime.ll | 4 +- .../MemCpyOpt/memcpy-to-memset-with-lifetimes.ll | 26 +-- test/Transforms/MemCpyOpt/memcpy-to-memset.ll | 4 +- test/Transforms/MemCpyOpt/memcpy-undef.ll | 8 +- test/Transforms/MemCpyOpt/memcpy.ll | 48 ++--- test/Transforms/MemCpyOpt/memmove.ll | 8 +- .../MemCpyOpt/memset-memcpy-redundant-memset.ll | 102 ++++----- .../MemCpyOpt/memset-memcpy-to-2x-memset.ll | 80 +++---- test/Transforms/MemCpyOpt/pr29105.ll | 10 +- test/Transforms/MemCpyOpt/profitable-memset.ll | 2 +- test/Transforms/MemCpyOpt/smaller.ll | 8 +- test/Transforms/MemCpyOpt/sret.ll | 4 +- test/Transforms/MergeFunc/vector.ll | 2 +- test/Transforms/MetaRenamer/metarenamer.ll | 4 +- test/Transforms/NewGVN/memory-handling.ll | 8 +- test/Transforms/NewGVN/nonescaping-malloc.ll | 4 +- test/Transforms/NewGVN/pr17732.ll | 6 +- test/Transforms/NewGVN/rle.ll | 14 +- test/Transforms/ObjCARC/nested.ll | 24 +-- test/Transforms/PGOProfile/memcpy.ll | 4 +- test/Transforms/PGOProfile/memop_clone.ll | 20 +- .../Transforms/PGOProfile/memop_size_annotation.ll | 6 +- .../PGOProfile/memop_size_from_strlen.ll | 4 +- test/Transforms/PGOProfile/memop_size_opt.ll | 14 +- test/Transforms/PGOProfile/memop_size_opt_zero.ll | 6 +- test/Transforms/PlaceSafepoints/memset.ll | 4 +- test/Transforms/SROA/address-spaces.ll | 22 +- test/Transforms/SROA/alignment.ll | 18 +- test/Transforms/SROA/alloca-address-space.ll | 22 +- test/Transforms/SROA/basictest.ll | 170 +++++++-------- test/Transforms/SROA/big-endian.ll | 4 +- test/Transforms/SROA/dbg-addr-diamond.ll | 4 +- test/Transforms/SROA/mem-par-metadata-sroa.ll | 2 +- test/Transforms/SROA/preserve-nonnull.ll | 4 +- test/Transforms/SROA/slice-order-independence.ll | 6 +- test/Transforms/SROA/slice-width.ll | 14 +- test/Transforms/SROA/vector-promotion.ll | 42 ++-- test/Transforms/SafeStack/X86/byval.ll | 2 +- test/Transforms/SafeStack/X86/call.ll | 10 +- test/Transforms/SimplifyCFG/critedge-assume.ll | 2 +- .../Util/combine-alias-scope-metadata.ll | 10 +- test/Verifier/2006-12-12-IntrinsicDefine.ll | 2 +- test/Verifier/2008-08-22-MemCpyAlignment.ll | 12 -- test/Verifier/2010-08-07-PointerIntrinsic.ll | 2 +- test/Verifier/memcpy.ll | 6 +- 406 files changed, 2639 insertions(+), 2354 deletions(-) create mode 100644 test/Bitcode/upgrade-memory-intrinsics.ll delete mode 100644 test/Verifier/2008-08-22-MemCpyAlignment.ll