Reapply address space patch after fixing an issue in MemCopyOptimizer.
authorMon P Wang <wangmp@apple.com>
Sun, 4 Apr 2010 03:10:48 +0000 (03:10 +0000)
committerMon P Wang <wangmp@apple.com>
Sun, 4 Apr 2010 03:10:48 +0000 (03:10 +0000)
commit20adc9dc4650313f017b27d9818eb2176238113d
treec81e72410ac01f2e03fd51beb30a6fa0220fe32b
parent0c08d092049c025c9ccf7143e39f39dc4e30d6b4
Reapply address space patch after fixing an issue in MemCopyOptimizer.
Added support for address spaces and added a isVolatile field to memcpy, memmove, and memset,
e.g., llvm.memcpy.i32(i8*, i8*, i32, i32) -> llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100304 91177308-0d34-0410-b5e6-96231b3b80d8
28 files changed:
include/llvm/CodeGen/SelectionDAG.h
include/llvm/IntrinsicInst.h
include/llvm/Intrinsics.td
include/llvm/Support/IRBuilder.h
include/llvm/Target/TargetLowering.h
include/llvm/Transforms/Utils/BuildLibCalls.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/XCore/XCoreISelLowering.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/Scalar/MemCpyOptimizer.cpp
lib/Transforms/Scalar/ScalarReplAggregates.cpp
lib/Transforms/Scalar/SimplifyLibCalls.cpp
lib/Transforms/Utils/BuildLibCalls.cpp
lib/Transforms/Utils/InlineFunction.cpp
lib/VMCore/AutoUpgrade.cpp
test/Analysis/BasicAA/modref.ll
test/Bitcode/memcpy.ll
test/Transforms/InstCombine/memset_chk.ll
test/Transforms/InstCombine/objsize.ll
test/Transforms/MemCpyOpt/align.ll
test/Transforms/SimplifyLibCalls/StrCpy.ll
test/Verifier/2006-12-12-IntrinsicDefine.ll