[all-commits] [llvm/llvm-project] 2a5b57: [ARM] Test for aligned blocks. NFC

David Green via All-commits all-commits at lists.llvm.org
Sat Jan 16 14:20:00 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a5b576e3ea41c30537435d989a3dce7a409f8e2
      https://github.com/llvm/llvm-project/commit/2a5b576e3ea41c30537435d989a3dce7a409f8e2
  Author: David Green <david.green at arm.com>
  Date:   2021-01-16 (Sat, 16 Jan 2021)

  Changed paths:
    A llvm/test/CodeGen/Thumb2/aligned-nonfallthrough.ll

  Log Message:
  -----------
  [ARM] Test for aligned blocks. NFC


  Commit: 145472421535c71a9ea60af7e5d012ab69dc85ff
      https://github.com/llvm/llvm-project/commit/145472421535c71a9ea60af7e5d012ab69dc85ff
  Author: David Green <david.green at arm.com>
  Date:   2021-01-16 (Sat, 16 Jan 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMConstantIslandPass.cpp
    M llvm/test/CodeGen/ARM/ParallelDSP/multi-use-loads.ll
    M llvm/test/CodeGen/Thumb2/aligned-nonfallthrough.ll

  Log Message:
  -----------
  [ARM] Align blocks that are not fallthough targets

If the previous block in a function does not fallthough, adding nop's to
align it will never be executed. This means we can freely (except for
codesize) align more branches. This happens in constantislandspass (as
it cannot happen later) and only happens at aggressive optimization
levels as it does increase codesize.

Differential Revision: https://reviews.llvm.org/D94394


Compare: https://github.com/llvm/llvm-project/compare/bfd75bdf3fd6...145472421535


More information about the All-commits mailing list