[all-commits] [llvm/llvm-project] 3de416: [NFC][SimplifyCFG] Add standalone test for common ...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Mon Jul 20 00:30:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3de41663251941e4c12ceb3b12b5d43c54a27a24
      https://github.com/llvm/llvm-project/commit/3de41663251941e4c12ceb3b12b5d43c54a27a24
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    R llvm/test/CodeGen/X86/pr39187-g.ll
    A llvm/test/Transforms/SimplifyCFG/X86/pr39187-g.ll
    A llvm/test/Transforms/SimplifyCFG/common-code-hoisting.ll

  Log Message:
  -----------
  [NFC][SimplifyCFG] Add standalone test for common code hoisting xform option

Also, move one test into it's correct place


  Commit: 04b729d076af038c2a86b62c0c150e340bf7a622
      https://github.com/llvm/llvm-project/commit/04b729d076af038c2a86b62c0c150e340bf7a622
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/SimplifyCFGOptions.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/GVNSink/indirect-call.ll
    M llvm/test/Transforms/GVNSink/sink-common-code.ll
    M llvm/test/Transforms/SimplifyCFG/2008-12-16-DCECond.ll
    M llvm/test/Transforms/SimplifyCFG/AArch64/prefer-fma.ll
    M llvm/test/Transforms/SimplifyCFG/BrUnwind.ll
    M llvm/test/Transforms/SimplifyCFG/HoistCode.ll
    M llvm/test/Transforms/SimplifyCFG/PowerPC/prefer-fma.ll
    M llvm/test/Transforms/SimplifyCFG/PowerPC/prefer-load-i32.ll
    M llvm/test/Transforms/SimplifyCFG/UncondBranchToReturn.ll
    M llvm/test/Transforms/SimplifyCFG/X86/empty-cleanuppad.ll
    M llvm/test/Transforms/SimplifyCFG/X86/pr39187-g.ll
    M llvm/test/Transforms/SimplifyCFG/X86/remove-debug.ll
    M llvm/test/Transforms/SimplifyCFG/common-code-hoisting.ll
    M llvm/test/Transforms/SimplifyCFG/hoist-common-code.ll
    M llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll
    M llvm/test/Transforms/SimplifyCFG/hoist-with-range.ll
    M llvm/test/Transforms/SimplifyCFG/pr39807.ll
    M llvm/test/Transforms/SimplifyCFG/preserve-load-metadata-2.ll
    M llvm/test/Transforms/SimplifyCFG/preserve-load-metadata-3.ll
    M llvm/test/Transforms/SimplifyCFG/preserve-load-metadata.ll

  Log Message:
  -----------
  [NFCI][SimplifyCFG] Guard common code hoisting with a (default-on) flag

Common code sinking is already guarded with a (with default-off!) flag,
so add a flag for hoisting, too.

D84108 will hopefully make hoisting off-by-default too.


Compare: https://github.com/llvm/llvm-project/compare/e3d646c699f1...04b729d076af


More information about the All-commits mailing list