[PATCH] D140931: Improve and enable folding of conditional branches with tail calls.

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 4 09:33:14 PST 2023


goldstein.w.n updated this revision to Diff 486320.
goldstein.w.n added a comment.

Fix wrong comment about `MayChangeDirection`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140931

Files:
  llvm/include/llvm/CodeGen/TargetInstrInfo.h
  llvm/lib/CodeGen/BranchFolding.cpp
  llvm/lib/Target/X86/X86InstrInfo.cpp
  llvm/lib/Target/X86/X86InstrInfo.h
  llvm/test/CodeGen/X86/add.ll
  llvm/test/CodeGen/X86/atom-pad-short-functions.ll
  llvm/test/CodeGen/X86/avx512-i1test.ll
  llvm/test/CodeGen/X86/bmi.ll
  llvm/test/CodeGen/X86/brcond.ll
  llvm/test/CodeGen/X86/btq.ll
  llvm/test/CodeGen/X86/cmp-merge.ll
  llvm/test/CodeGen/X86/cmp.ll
  llvm/test/CodeGen/X86/comi-flags.ll
  llvm/test/CodeGen/X86/extern_weak.ll
  llvm/test/CodeGen/X86/fold-rmw-ops.ll
  llvm/test/CodeGen/X86/fp-strict-scalar-cmp-fp16.ll
  llvm/test/CodeGen/X86/fp-strict-scalar-cmp.ll
  llvm/test/CodeGen/X86/funnel-shift.ll
  llvm/test/CodeGen/X86/jump_sign.ll
  llvm/test/CodeGen/X86/neg_cmp.ll
  llvm/test/CodeGen/X86/or-branch.ll
  llvm/test/CodeGen/X86/peep-test-4.ll
  llvm/test/CodeGen/X86/pr37025.ll
  llvm/test/CodeGen/X86/pr37063.ll
  llvm/test/CodeGen/X86/rd-mod-wr-eflags.ll
  llvm/test/CodeGen/X86/segmented-stacks.ll
  llvm/test/CodeGen/X86/sibcall.ll
  llvm/test/CodeGen/X86/slow-incdec.ll
  llvm/test/CodeGen/X86/sqrt-partial.ll
  llvm/test/CodeGen/X86/switch-bt.ll
  llvm/test/CodeGen/X86/tail-opts.ll
  llvm/test/CodeGen/X86/tailcall-cgp-dup.ll
  llvm/test/CodeGen/X86/tailcall-extract.ll
  llvm/test/CodeGen/X86/xor-icmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140931.486320.patch
Type: text/x-patch
Size: 119504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230104/e20afde9/attachment.bin>


More information about the llvm-commits mailing list