[PATCH] D153829: [AArch64] Move branch relaxation after bbsection assignment

Daniel Hoekwater via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 30 16:02:28 PDT 2023


dhoekwater updated this revision to Diff 536471.
dhoekwater added a comment.

Modify function name and documentation to loosen its guarantees.

Because targets can perform instruction insertion wherever they
like, we can't guarantee that this is a safe place to perform
branch relaxation for all targets.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D153829/new/

https://reviews.llvm.org/D153829

Files:
  llvm/include/llvm/CodeGen/TargetPassConfig.h
  llvm/lib/CodeGen/TargetPassConfig.cpp
  llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
  llvm/test/CodeGen/AArch64/O0-pipeline.ll
  llvm/test/CodeGen/AArch64/O3-pipeline.ll
  llvm/test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll
  llvm/test/CodeGen/AArch64/jti-correct-datatype.mir
  llvm/test/CodeGen/AArch64/seh_funclet_x1.ll
  llvm/test/CodeGen/AArch64/wineh-try-catch.ll
  llvm/test/DebugInfo/AArch64/fallthrough-branch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153829.536471.patch
Type: text/x-patch
Size: 10737 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230630/1d372df4/attachment.bin>


More information about the llvm-commits mailing list