]> granicus.if.org Git - llvm/commit
Reland "r364412 [ExpandMemCmp][MergeICmps] Move passes out of CodeGen into opt pipeline."
authorClement Courbet <courbet@google.com>
Tue, 10 Sep 2019 09:18:00 +0000 (09:18 +0000)
committerClement Courbet <courbet@google.com>
Tue, 10 Sep 2019 09:18:00 +0000 (09:18 +0000)
commit9f23a59130c72cd18837aa1f73783d78bbadac27
tree26b9eae91a41df3548ce641a6b0fc21b9d9bae59
parente6608fd47d2dc3aa7323cf9320da745f39c55f3c
Reland "r364412 [ExpandMemCmp][MergeICmps] Move passes out of CodeGen into opt pipeline."

With a fix for sanitizer breakage (see explanation in D60318).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371502 91177308-0d34-0410-b5e6-96231b3b80d8
42 files changed:
include/llvm/CodeGen/Passes.h
include/llvm/Transforms/IPO/PassManagerBuilder.h
include/llvm/Transforms/Scalar.h
lib/CodeGen/CMakeLists.txt
lib/CodeGen/CodeGen.cpp
lib/CodeGen/TargetPassConfig.cpp
lib/Transforms/IPO/PassManagerBuilder.cpp
lib/Transforms/Scalar/CMakeLists.txt
lib/Transforms/Scalar/ExpandMemCmp.cpp [moved from lib/CodeGen/ExpandMemCmp.cpp with 90% similarity]
lib/Transforms/Scalar/MergeICmps.cpp
lib/Transforms/Scalar/Scalar.cpp
test/CodeGen/AArch64/O3-pipeline.ll
test/CodeGen/AArch64/bcmp-inline-small.ll [deleted file]
test/CodeGen/ARM/O3-pipeline.ll
test/CodeGen/Generic/llc-start-stop.ll
test/CodeGen/PowerPC/memCmpUsedInZeroEqualityComparison.ll [deleted file]
test/CodeGen/PowerPC/memcmp-mergeexpand.ll [deleted file]
test/CodeGen/PowerPC/memcmp.ll [deleted file]
test/CodeGen/PowerPC/memcmpIR.ll [deleted file]
test/CodeGen/X86/O3-pipeline.ll
test/CodeGen/X86/memcmp-mergeexpand.ll [deleted file]
test/CodeGen/X86/memcmp-optsize.ll [deleted file]
test/CodeGen/X86/memcmp.ll [deleted file]
test/Other/opt-O2-pipeline.ll
test/Other/opt-O3-pipeline.ll
test/Other/opt-Os-pipeline.ll
test/Transforms/ExpandMemCmp/AArch64/memcmp.ll [new file with mode: 0644]
test/Transforms/ExpandMemCmp/PowerPC/lit.local.cfg [new file with mode: 0644]
test/Transforms/ExpandMemCmp/PowerPC/memcmpIR.ll [new file with mode: 0644]
test/Transforms/ExpandMemCmp/X86/memcmp.ll
test/Transforms/ExpandMemCmp/X86/pr36421.ll [new file with mode: 0644]
test/Transforms/PhaseOrdering/PowerPC/lit.local.cfg [new file with mode: 0644]
test/Transforms/PhaseOrdering/PowerPC/memCmpUsedInZeroEqualityComparison.ll [new file with mode: 0644]
test/Transforms/PhaseOrdering/PowerPC/memcmp-mergeexpand.ll [new file with mode: 0644]
test/Transforms/PhaseOrdering/PowerPC/memcmp.ll [new file with mode: 0644]
test/Transforms/PhaseOrdering/X86/lit.local.cfg [new file with mode: 0644]
test/Transforms/PhaseOrdering/X86/memcmp-mergeexpand.ll [new file with mode: 0644]
test/Transforms/PhaseOrdering/X86/memcmp.ll [new file with mode: 0644]
test/Transforms/PhaseOrdering/X86/pr36421.ll [new file with mode: 0644]
tools/opt/opt.cpp
utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn