[all-commits] [llvm/llvm-project] e32c42: [SimplifyCFG] Precommit tests for PR118955 (NFC)

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Fri Dec 13 00:11:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e32c428bec2074f954350d225104c299964b4585
      https://github.com/llvm/llvm-project/commit/e32c428bec2074f954350d225104c299964b4585
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2024-12-13 (Fri, 13 Dec 2024)

  Changed paths:
    M llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
    M llvm/test/Transforms/SimplifyCFG/switch-dup-bbs.ll

  Log Message:
  -----------
  [SimplifyCFG] Precommit tests for PR118955 (NFC)


  Commit: d26df3225537f3f9dc283f4fb33d191d11802d8c
      https://github.com/llvm/llvm-project/commit/d26df3225537f3f9dc283f4fb33d191d11802d8c
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2024-12-13 (Fri, 13 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
    M llvm/test/Transforms/SimplifyCFG/switch-dup-bbs.ll

  Log Message:
  -----------
  [SimplifyCFG] Consider preds to switch in `simplifyDuplicateSwitchArms`

Allow a duplicate basic block with multiple predecessors to the
jump table to be simplified, by considering that the same basic
block may appear in more switch cases.


Compare: https://github.com/llvm/llvm-project/compare/d7a8e09893c4...d26df3225537

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list