[PATCH] D41675: Change memcpy/memove/memset to have dest and source alignment attributes.
Daniel Neilson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 2 14:09:15 PST 2018
dneilson updated this revision to Diff 128468.
dneilson added a comment.
- Running the sed script changed some test files only by the addition of a newline at the end of the file. Undoing these changes to reduce the number of files touched by this change.
https://reviews.llvm.org/D41675
Files:
docs/LangRef.rst
include/llvm/IR/IRBuilder.h
include/llvm/IR/IntrinsicInst.h
include/llvm/IR/Intrinsics.td
lib/Analysis/Lint.cpp
lib/CodeGen/CodeGenPrepare.cpp
lib/CodeGen/SafeStack.cpp
lib/CodeGen/SafeStackLayout.cpp
lib/CodeGen/SafeStackLayout.h
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/IR/Attributes.cpp
lib/IR/AutoUpgrade.cpp
lib/IR/IRBuilder.cpp
lib/IR/Verifier.cpp
lib/Target/AArch64/AArch64FastISel.cpp
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
lib/Target/ARM/ARMFastISel.cpp
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
lib/Target/Mips/MipsFastISel.cpp
lib/Target/X86/X86FastISel.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/InstCombine/InstCombineInternal.h
lib/Transforms/Instrumentation/AddressSanitizer.cpp
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
lib/Transforms/Instrumentation/MemorySanitizer.cpp
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
lib/Transforms/Scalar/DeadStoreElimination.cpp
lib/Transforms/Scalar/InferAddressSpaces.cpp
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
lib/Transforms/Scalar/MemCpyOptimizer.cpp
lib/Transforms/Scalar/SROA.cpp
lib/Transforms/Utils/InlineFunction.cpp
lib/Transforms/Utils/LowerMemIntrinsics.cpp
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Analysis/AliasSet/memtransfer.ll
test/Analysis/BasicAA/assume.ll
test/Analysis/BasicAA/cs-cs.ll
test/Analysis/BasicAA/gep-and-alias.ll
test/Analysis/BasicAA/getmodrefinfo-cs-cs.ll
test/Analysis/BasicAA/guards.ll
test/Analysis/BasicAA/modref.ll
test/Analysis/CFLAliasAnalysis/Andersen/assign.ll
test/Analysis/CFLAliasAnalysis/Andersen/assign2.ll
test/Analysis/CFLAliasAnalysis/Andersen/interproc-arg-deref-escape.ll
test/Analysis/CFLAliasAnalysis/Andersen/interproc-arg-escape.ll
test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-arg.ll
test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-deref-arg-multilevel.ll
test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-deref-arg.ll
test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-escape.ll
test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-ref-arg-multilevel.ll
test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-ref-arg.ll
test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-unknown.ll
test/Analysis/CFLAliasAnalysis/Andersen/interproc-store-arg-multilevel.ll
test/Analysis/CFLAliasAnalysis/Andersen/interproc-store-arg-unknown.ll
test/Analysis/CFLAliasAnalysis/Andersen/interproc-store-arg.ll
test/Analysis/CFLAliasAnalysis/Andersen/memalias.ll
test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-arg-deref-escape.ll
test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-arg-escape.ll
test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-arg.ll
test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-deref-arg-multilevel.ll
test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-deref-arg.ll
test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-escape.ll
test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-ref-arg-multilevel.ll
test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-ref-arg.ll
test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-unknown.ll
test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-store-arg-unknown.ll
test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-store-arg.ll
test/Analysis/CallGraph/no-intrinsics.ll
test/Analysis/ConstantFolding/gep-constanfolding-error.ll
test/Analysis/DependenceAnalysis/Preliminary.ll
test/Analysis/GlobalsModRef/memset-escape.ll
test/Analysis/GlobalsModRef/no-escape.ll
test/Analysis/GlobalsModRef/pr12351.ll
test/Analysis/GlobalsModRef/volatile-instrs.ll
test/Analysis/Lint/address-spaces.ll
test/Analysis/Lint/noalias-byval.ll
test/Analysis/MemorySSA/basicaa-memcpy.ll
test/Analysis/PostDominators/pr24415.ll
test/Analysis/PostDominators/pr6047_b.ll
test/Analysis/PostDominators/pr6047_c.ll
test/Analysis/PostDominators/pr6047_d.ll
test/Analysis/RegionInfo/infinite_loop.ll
test/Analysis/RegionInfo/infinite_loop_4.ll
test/Analysis/ScalarEvolution/avoid-assume-hang.ll
test/Analysis/ScalarEvolution/avoid-smax-1.ll
test/Analysis/ScalarEvolution/trip-count.ll
test/Analysis/ScalarEvolution/trip-count3.ll
test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll
test/Analysis/TypeBasedAliasAnalysis/memcpyopt.ll
test/Bindings/llvm-c/invoke.ll
test/Bitcode/constantsTest.3.2.ll
test/Bitcode/standardCIntrinsic.3.2.ll
test/Bitcode/upgrade-memory-intrinsics.ll
test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
test/CodeGen/AArch64/PBQP-csr.ll
test/CodeGen/AArch64/aarch64-DAGCombine-findBetterNeighborChains-crash.ll
test/CodeGen/AArch64/arm64-2012-05-07-MemcpyAlignBug.ll
test/CodeGen/AArch64/arm64-abi-varargs.ll
test/CodeGen/AArch64/arm64-abi_align.ll
test/CodeGen/AArch64/arm64-fast-isel-intrinsic.ll
test/CodeGen/AArch64/arm64-memcpy-inline.ll
test/CodeGen/AArch64/arm64-memset-inline.ll
test/CodeGen/AArch64/arm64-memset-to-bzero.ll
test/CodeGen/AArch64/arm64-misaligned-memcpy-inline.ll
test/CodeGen/AArch64/arm64-misched-basic-A53.ll
test/CodeGen/AArch64/arm64-misched-basic-A57.ll
test/CodeGen/AArch64/arm64-stur.ll
test/CodeGen/AArch64/arm64-virtual_base.ll
test/CodeGen/AArch64/fast-isel-memcpy.ll
test/CodeGen/AArch64/func-argpassing.ll
test/CodeGen/AArch64/ldp-stp-scaled-unscaled-pairs.ll
test/CodeGen/AArch64/ldst-paired-aliasing.ll
test/CodeGen/AArch64/ldst-zero.ll
test/CodeGen/AArch64/machine-combiner-madd.ll
test/CodeGen/AArch64/memcpy-f128.ll
test/CodeGen/AArch64/merge-store-dependency.ll
test/CodeGen/AArch64/mergestores_noimplicitfloat.ll
test/CodeGen/AArch64/misched-stp.ll
test/CodeGen/AArch64/pr33172.ll
test/CodeGen/AArch64/tailcall-mem-intrinsics.ll
test/CodeGen/AArch64/tailcall-string-rvo.ll
test/CodeGen/AMDGPU/addrspacecast-constantexpr.ll
test/CodeGen/AMDGPU/lds-alignment.ll
test/CodeGen/AMDGPU/llvm.memcpy.ll
test/CodeGen/AMDGPU/lower-mem-intrinsics.ll
test/CodeGen/AMDGPU/promote-alloca-mem-intrinsics.ll
test/CodeGen/AMDGPU/stack-size-overflow.ll
test/CodeGen/ARM/2009-03-07-SpillerBug.ll
test/CodeGen/ARM/2011-03-10-DAGCombineCrash.ll
test/CodeGen/ARM/2011-10-26-memset-inline.ll
test/CodeGen/ARM/2011-10-26-memset-with-neon.ll
test/CodeGen/ARM/2012-04-24-SplitEHCriticalEdge.ll
test/CodeGen/ARM/Windows/memset.ll
test/CodeGen/ARM/Windows/no-aeabi.ll
test/CodeGen/ARM/arm-eabi.ll
test/CodeGen/ARM/constantpool-promote-ldrh.ll
test/CodeGen/ARM/constantpool-promote.ll
test/CodeGen/ARM/crash-O0.ll
test/CodeGen/ARM/debug-info-blocks.ll
test/CodeGen/ARM/dyn-stackalloc.ll
test/CodeGen/ARM/fast-isel-intrinsic.ll
test/CodeGen/ARM/interval-update-remat.ll
test/CodeGen/ARM/ldm-stm-base-materialization.ll
test/CodeGen/ARM/machine-cse-cmp.ll
test/CodeGen/ARM/memcpy-inline.ll
test/CodeGen/ARM/memcpy-ldm-stm.ll
test/CodeGen/ARM/memcpy-no-inline.ll
test/CodeGen/ARM/memfunc.ll
test/CodeGen/ARM/memset-inline.ll
test/CodeGen/ARM/stack-protector-bmovpcb_call.ll
test/CodeGen/ARM/struct-byval-frame-index.ll
test/CodeGen/ARM/tailcall-mem-intrinsics.ll
test/CodeGen/AVR/std-ldd-immediate-overflow.ll
test/CodeGen/BPF/byval.ll
test/CodeGen/BPF/ex1.ll
test/CodeGen/BPF/fi_ri.ll
test/CodeGen/BPF/reloc.ll
test/CodeGen/BPF/rodata_1.ll
test/CodeGen/BPF/rodata_2.ll
test/CodeGen/BPF/rodata_3.ll
test/CodeGen/BPF/rodata_4.ll
test/CodeGen/BPF/sanity.ll
test/CodeGen/BPF/undef.ll
test/CodeGen/BPF/warn-call.ll
test/CodeGen/Generic/ForceStackAlign.ll
test/CodeGen/Generic/invalid-memcpy.ll
test/CodeGen/Hexagon/adjust-latency-stackST.ll
test/CodeGen/Hexagon/branchfolder-keep-impdef.ll
test/CodeGen/Hexagon/early-if-conversion-bug1.ll
test/CodeGen/Hexagon/mem-fi-add.ll
test/CodeGen/Hexagon/memcpy-likely-aligned.ll
test/CodeGen/Hexagon/rdf-filter-defs.ll
test/CodeGen/Hexagon/store-imm-stack-object.ll
test/CodeGen/Hexagon/tail-call-mem-intrinsics.ll
test/CodeGen/MSP430/memset.ll
test/CodeGen/Mips/2012-12-12-ExpandMemcpy.ll
test/CodeGen/Mips/Fast-ISel/memtest1.ll
test/CodeGen/Mips/biggot.ll
test/CodeGen/Mips/cconv/arguments-small-structures-bigger-than-32bits.ll
test/CodeGen/Mips/cconv/arguments-varargs-small-structs-byte.ll
test/CodeGen/Mips/cconv/arguments-varargs-small-structs-combinations.ll
test/CodeGen/Mips/cconv/return-struct.ll
test/CodeGen/Mips/largeimmprinting.ll
test/CodeGen/Mips/long-calls.ll
test/CodeGen/Mips/memcpy.ll
test/CodeGen/Mips/pr33978.ll
test/CodeGen/Mips/tailcall/tailcall.ll
test/CodeGen/NVPTX/lower-aggr-copies.ll
test/CodeGen/PowerPC/2011-12-05-NoSpillDupCR.ll
test/CodeGen/PowerPC/2011-12-06-SpillAndRestoreCR.ll
test/CodeGen/PowerPC/MMO-flags-assertion.ll
test/CodeGen/PowerPC/aantidep-inline-asm-use.ll
test/CodeGen/PowerPC/ctrloop-reg.ll
test/CodeGen/PowerPC/emptystruct.ll
test/CodeGen/PowerPC/fsl-e500mc.ll
test/CodeGen/PowerPC/fsl-e5500.ll
test/CodeGen/PowerPC/glob-comp-aa-crash.ll
test/CodeGen/PowerPC/isel-rc-nox0.ll
test/CodeGen/PowerPC/licm-remat.ll
test/CodeGen/PowerPC/lxv-aligned-stack-slots.ll
test/CodeGen/PowerPC/memcpy-vec.ll
test/CodeGen/PowerPC/memcpy_dereferenceable.ll
test/CodeGen/PowerPC/memset-nc-le.ll
test/CodeGen/PowerPC/memset-nc.ll
test/CodeGen/PowerPC/merge-st-chain-op.ll
test/CodeGen/PowerPC/ppc-empty-fs.ll
test/CodeGen/PowerPC/pr27350.ll
test/CodeGen/PowerPC/resolvefi-basereg.ll
test/CodeGen/PowerPC/resolvefi-disp.ll
test/CodeGen/PowerPC/structsinmem.ll
test/CodeGen/PowerPC/structsinregs.ll
test/CodeGen/PowerPC/stwu8.ll
test/CodeGen/PowerPC/tailcall-string-rvo.ll
test/CodeGen/PowerPC/toc-load-sched-bug.ll
test/CodeGen/RISCV/frame.ll
test/CodeGen/SystemZ/dag-combine-02.ll
test/CodeGen/SystemZ/loop-01.ll
test/CodeGen/SystemZ/loop-03.ll
test/CodeGen/SystemZ/memcpy-01.ll
test/CodeGen/SystemZ/memset-01.ll
test/CodeGen/SystemZ/memset-02.ll
test/CodeGen/SystemZ/memset-03.ll
test/CodeGen/SystemZ/memset-04.ll
test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll
test/CodeGen/Thumb/2011-05-11-DAGLegalizer.ll
test/CodeGen/Thumb/dyn-stackalloc.ll
test/CodeGen/Thumb/ldm-stm-base-materialization-thumb2.ll
test/CodeGen/Thumb/ldm-stm-base-materialization.ll
test/CodeGen/Thumb/stack-coloring-without-frame-ptr.ll
test/CodeGen/Thumb2/2009-08-04-SubregLoweringBug.ll
test/CodeGen/Thumb2/2012-01-13-CBNZBug.ll
test/CodeGen/WebAssembly/global.ll
test/CodeGen/WebAssembly/mem-intrinsics.ll
test/CodeGen/X86/2007-10-15-CoalescerCrash.ll
test/CodeGen/X86/2009-01-25-NoSSE.ll
test/CodeGen/X86/2009-11-16-UnfoldMemOpBug.ll
test/CodeGen/X86/2010-04-08-CoalescerBug.ll
test/CodeGen/X86/2010-04-21-CoalescerBug.ll
test/CodeGen/X86/2010-06-25-CoalescerSubRegDefDead.ll
test/CodeGen/X86/2010-09-17-SideEffectsInChain.ll
test/CodeGen/X86/2012-01-10-UndefExceptionEdge.ll
test/CodeGen/X86/alignment-2.ll
test/CodeGen/X86/bug26810.ll
test/CodeGen/X86/darwin-bzero.ll
test/CodeGen/X86/fast-isel-call.ll
test/CodeGen/X86/fast-isel-deadcode.ll
test/CodeGen/X86/fast-isel-x86-64.ll
test/CodeGen/X86/force-align-stack-alloca.ll
test/CodeGen/X86/immediate_merging.ll
test/CodeGen/X86/immediate_merging64.ll
(231 more files...)
More information about the llvm-commits
mailing list